OSDN Git Service

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

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

libavformat/tcp.c

index 1b13c56..4ab7086 100644 (file)
@@ -22,6 +22,7 @@
 #include <unistd.h>
 #include "network.h"
 #include "os_support.h"
+#include <sys/select.h>
 #include <sys/time.h>
 
 typedef struct TCPContext {