diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-09-26 02:12:37 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-09-26 02:12:37 +0000 |
commit | 6ad1c9c992251018130e47618cd4990e4415546c (patch) | |
tree | 773bda9932d3f5882d0185aea793126fcf48809b /libavformat/tcp.c | |
parent | 644b0c4c92f8d1694e43804fce393d70ace7b513 (diff) | |
download | ffmpeg-6ad1c9c992251018130e47618cd4990e4415546c.tar.gz |
only include sys/select.h if present, fix mingw compilation
Originally committed as revision 15420 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/tcp.c')
-rw-r--r-- | libavformat/tcp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/tcp.c b/libavformat/tcp.c index 4ab7086677..05844517e5 100644 --- a/libavformat/tcp.c +++ b/libavformat/tcp.c @@ -22,7 +22,9 @@ #include <unistd.h> #include "network.h" #include "os_support.h" +#ifdef HAVE_SYS_SELECT_H #include <sys/select.h> +#endif #include <sys/time.h> typedef struct TCPContext { |