diff network/iputils/fix-defines.patch @ 190:96cc0131586a

network/iputils: fix build
author David Demelier <markand@malikania.fr>
date Tue, 19 Mar 2019 13:35:34 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/network/iputils/fix-defines.patch	Tue Mar 19 13:35:34 2019 +0100
@@ -0,0 +1,13 @@
+--- 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