summaryrefslogtreecommitdiff
path: root/enum.c
diff options
context:
space:
mode:
Diffstat (limited to 'enum.c')
-rwxr-xr-xenum.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/enum.c b/enum.c
index 2fac1bd47..143b22281 100755
--- a/enum.c
+++ b/enum.c
@@ -15,6 +15,9 @@
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/nameser.h>
+#if __APPLE_CC__ >= 1495
+#include <arpa/nameser_compat.h>
+#endif
#include <resolv.h>
#include <stdlib.h>
#include <string.h>