fix build on FreeBSD (issue #5003)
authorKevin P. Fleming <kpfleming@digium.com>
Tue, 23 Aug 2005 15:36:01 +0000 (15:36 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Tue, 23 Aug 2005 15:36:01 +0000 (15:36 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6382 65c4cc65-6c06-0410-ace0-fbb531ad65f3

utils/streamplayer.c

index 5ae742f..90447a6 100755 (executable)
@@ -9,6 +9,8 @@
 *
 * This program is free software, distributed under the terms of
 * the GNU General Public License
+*
+* $Revision$ 
 */
 
 #include <stdlib.h>
@@ -18,6 +20,9 @@
 #include <unistd.h>
 #include <sys/types.h>
 #include <sys/socket.h>
+#if defined(__FreeBSD__)
+#include <netinet/in.h>
+#endif
 #include <sys/time.h>