loudmouth/lm-socket.c
changeset 337 7bc0c6ad11ff
parent 325 6e561a2cc542
child 338 e89c3874d6eb
--- a/loudmouth/lm-socket.c	Sun Feb 24 00:42:57 2008 +0100
+++ b/loudmouth/lm-socket.c	Sun Feb 24 01:01:24 2008 +0100
@@ -24,6 +24,17 @@
 
 #include <string.h>
 #include <sys/types.h>
+
+/* Needed on Mac OS X */
+#if HAVE_NETINET_IN_H
+#include <netinet/in.h>
+#endif
+
+/* Needed on Mac OS X */
+#if HAVE_ARPA_NAMESER_COMPAT_H
+#include <arpa/nameser_compat.h>
+#endif
+
 #include <arpa/nameser.h>
 #include <resolv.h>