You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02: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:
@@ -26,7 +26,9 @@
|
||||
#include "avformat.h"
|
||||
|
||||
#include <sys/time.h>
|
||||
#ifdef HAVE_SYS_SELECT_H
|
||||
#include <sys/select.h>
|
||||
#endif
|
||||
#include <strings.h>
|
||||
#include "network.h"
|
||||
#include "rtsp.h"
|
||||
|
@@ -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 {
|
||||
|
Reference in New Issue
Block a user