Add the ability to dynamically specify weights for responses to DUNDi queries.
[asterisk/asterisk.git] / main / enum.c
index 0cdf308..5db6adb 100644 (file)
@@ -48,9 +48,11 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <arpa/nameser.h>
+#ifdef __APPLE__
 #if __APPLE_CC__ >= 1495
 #include <arpa/nameser_compat.h>
 #endif
+#endif
 #include <resolv.h>
 #include <stdlib.h>
 #include <string.h>