fix build on older versions of mac osx, thanks twisted!
authorRussell Bryant <russell@russellbryant.com>
Tue, 18 Oct 2005 03:24:41 +0000 (03:24 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 18 Oct 2005 03:24:41 +0000 (03:24 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6814 65c4cc65-6c06-0410-ace0-fbb531ad65f3

utils/streamplayer.c

index b11fc39..4cd9531 100755 (executable)
@@ -31,7 +31,7 @@
 #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>