[FFmpeg-cvslog] r15420 - in trunk/libavformat: rtsp.c tcp.c
bcoudurier
subversion
Fri Sep 26 04:12:37 CEST 2008
Author: bcoudurier
Date: Fri Sep 26 04:12:37 2008
New Revision: 15420
Log:
only include sys/select.h if present, fix mingw compilation
Modified:
trunk/libavformat/rtsp.c
trunk/libavformat/tcp.c
Modified: trunk/libavformat/rtsp.c
==============================================================================
--- trunk/libavformat/rtsp.c (original)
+++ trunk/libavformat/rtsp.c Fri Sep 26 04:12:37 2008
@@ -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"
Modified: trunk/libavformat/tcp.c
==============================================================================
--- trunk/libavformat/tcp.c (original)
+++ trunk/libavformat/tcp.c Fri Sep 26 04:12:37 2008
@@ -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 {
More information about the ffmpeg-cvslog
mailing list