fix build on older versions of mac osx, thanks twisted!
[asterisk/asterisk.git] / utils / streamplayer.c
index b11fc39..4cd9531 100755 (executable)
@@ -31,7 +31,7 @@
 #include <unistd.h>
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <unistd.h>
 #include <sys/types.h>
 #include <sys/socket.h>
-#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
+#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__Darwin__)
 #include <netinet/in.h>
 #endif
 #include <sys/time.h>
 #include <netinet/in.h>
 #endif
 #include <sys/time.h>