void-packages/srcpkgs/iputils/patches/fix-musl-defines.patch
2018-08-03 16:29:26 -03:00

13 lines
198 B
Diff

--- 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