fix build for OpenBSD (bug #5019)
authorRussell Bryant <russell@russellbryant.com>
Wed, 24 Aug 2005 17:23:44 +0000 (17:23 +0000)
committerRussell Bryant <russell@russellbryant.com>
Wed, 24 Aug 2005 17:23:44 +0000 (17:23 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6393 65c4cc65-6c06-0410-ace0-fbb531ad65f3

utils/streamplayer.c

index 90447a6..5ab7f70 100755 (executable)
@@ -20,7 +20,7 @@
 #include <unistd.h>
 #include <sys/types.h>
 #include <sys/socket.h>
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || defined(__OpenBSD__)
 #include <netinet/in.h>
 #endif
 #include <sys/time.h>