Add needed include, make it compile without -D_BSD_SOURCE.
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 12 Aug 2008 21:02:37 +0000 (21:02 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 12 Aug 2008 21:02:37 +0000 (21:02 +0000)
Originally committed as revision 14718 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/rtpproto.c

index 99fae3a..7edd101 100644 (file)
@@ -32,6 +32,7 @@
 #include "network.h"
 #include "os_support.h"
 #include <fcntl.h>
+#include <sys/select.h>
 
 #define RTP_TX_BUF_SIZE  (64 * 1024)
 #define RTP_RX_BUF_SIZE  (128 * 1024)