aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorKurtnoise <kurtnoise@free.fr>2008-08-14 14:29:18 +0000
committerDiego Biurrun <diego@biurrun.de>2008-08-14 14:29:18 +0000
commit7139bfa8fe47760864a3a25953d807271f950bb6 (patch)
tree33d3d426645779d78daa2b7ad6321c185b94f1cf /libavformat
parentbf6ce82d817eb59f8329a231ab846e57087c3bb0 (diff)
downloadffmpeg-7139bfa8fe47760864a3a25953d807271f950bb6.tar.gz
Surround '#include <sys/select>' by HAVE_SYS_SELECT_H.
patch by Kurtnoise, kurtnoise free fr Originally committed as revision 14756 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/rtpproto.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/rtpproto.c b/libavformat/rtpproto.c
index 7edd101e12..b78c759b02 100644
--- a/libavformat/rtpproto.c
+++ b/libavformat/rtpproto.c
@@ -32,7 +32,9 @@
#include "network.h"
#include "os_support.h"
#include <fcntl.h>
+#ifdef HAVE_SYS_SELECT_H
#include <sys/select.h>
+#endif
#define RTP_TX_BUF_SIZE (64 * 1024)
#define RTP_RX_BUF_SIZE (128 * 1024)