Surround '#include <sys/select>' by HAVE_SYS_SELECT_H.
authorKurtnoise <kurtnoise@free.fr>
Thu, 14 Aug 2008 14:29:18 +0000 (14:29 +0000)
committerDiego Biurrun <diego@biurrun.de>
Thu, 14 Aug 2008 14:29:18 +0000 (14:29 +0000)
patch by Kurtnoise, kurtnoise free fr

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

libavformat/rtpproto.c

index 7edd101..b78c759 100644 (file)
@@ -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)