view network/iputils/patch-ping.c.patch @ 648:e7bebea8c0eb

network/iputils: actually does not build with IDN
author David Demelier <markand@malikania.fr>
date Sat, 27 Jul 2019 14:06:29 +0200
parents network/iputils/fix-defines.patch@96cc0131586a
children
line wrap: on
line source

--- a/ping.h
+++ b/ping.h
@@ -44,6 +44,10 @@
 #define getnameinfo_flags 0
 #endif
 
+#ifndef AI_CANONIDN
+#define AI_CANONIDN 0x0080
+#endif
+
 #ifndef WITHOUT_IFADDRS
 #include <ifaddrs.h>
 #endif