提交 6ad1c9c9 编写于 作者: B Baptiste Coudurier

only include sys/select.h if present, fix mingw compilation

Originally committed as revision 15420 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 644b0c4c
......@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册