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

Originally committed as revision 15420 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Baptiste Coudurier 17 years ago
parent 644b0c4c92
commit 6ad1c9c992
  1. 2
      libavformat/rtsp.c
  2. 2
      libavformat/tcp.c

@ -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 {

Loading…
Cancel
Save