aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtsp.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-09-24 22:08:50 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-09-24 22:08:50 +0000
commit933bd8e291b5684bb0d37e0e48afe2275d2e8183 (patch)
tree4a13995f9352e3591fe37533d521e690251d6f2d /libavformat/rtsp.c
parentb6c77581683c9ed0b5a72e2b598291162d12cf4b (diff)
downloadffmpeg-933bd8e291b5684bb0d37e0e48afe2275d2e8183.tar.gz
include sys/select.h instead of unistd.h to get select,
according to posix 2001, fix compilation on freebsd 5.5 Originally committed as revision 15405 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtsp.c')
-rw-r--r--libavformat/rtsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index dad62d0b2e..d3f1f1c1a4 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -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"