mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-01 09:27:44 +00:00
only include sys/select.h if present, fix mingw compilation
Originally committed as revision 15420 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
644b0c4c92
commit
6ad1c9c992
2 changed files with 4 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue