13 lines
198 B
Diff
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
|