view network/iputils/patch-ping.c.patch @ 794:9a09b85f5ac0

network/uriparser: fix build
author David Demelier <markand@malikania.fr>
date Mon, 12 Aug 2019 17:03:47 +0200
parents e7bebea8c0eb
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