Browse Source

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

Originally committed as revision 15420 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Baptiste Coudurier 16 years ago
parent
commit
6ad1c9c992
2 changed files with 4 additions and 0 deletions
  1. +2
    -0
      libavformat/rtsp.c
  2. +2
    -0
      libavformat/tcp.c

+ 2
- 0
libavformat/rtsp.c View File

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


+ 2
- 0
libavformat/tcp.c View File

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