diff rtsp.c @ 3941:53c5b89b8dff libavformat

only include sys/select.h if present, fix mingw compilation
author bcoudurier
date Fri, 26 Sep 2008 02:12:37 +0000
parents 6154f62ef652
children 9f943bb755f9
line wrap: on
line diff
--- a/rtsp.c	Fri Sep 26 02:07:56 2008 +0000
+++ b/rtsp.c	Fri Sep 26 02:12:37 2008 +0000
@@ -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"