loudmouth/lm-resolver.c
changeset 733 3a3f9df8b9fd
parent 728 35639729e565
--- a/loudmouth/lm-resolver.c	Sat May 04 16:00:37 2019 +0000
+++ b/loudmouth/lm-resolver.c	Sat May 04 16:03:51 2019 +0000
@@ -21,7 +21,7 @@
 #include <string.h>
 
 /* Needed on Mac OS X */
-#if HAVE_ARPA_NAMESER_COMPAT_H
+#if defined(__APPLE__) && HAVE_ARPA_NAMESER_COMPAT_H
 #include <arpa/nameser_compat.h>
 #endif