include sys/select.h instead of unistd.h to get select,
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>
Wed, 24 Sep 2008 22:08:50 +0000 (22:08 +0000)
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>
Wed, 24 Sep 2008 22:08:50 +0000 (22:08 +0000)
according to posix 2001, fix compilation on freebsd 5.5

Originally committed as revision 15405 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/rtsp.c

index dad62d0..d3f1f1c 100644 (file)
@@ -26,7 +26,7 @@
 #include "avformat.h"
 
 #include <sys/time.h>
-#include <unistd.h> /* for select() prototype */
+#include <sys/select.h>
 #include <strings.h>
 #include "network.h"
 #include "rtsp.h"