changeset 2862:5e3ba0ab8782 libavformat

Check for the presence of sys/select.h and conditionally #include it. patch by Michael Kostylev, mik niipt ru
author diego
date Thu, 27 Dec 2007 01:38:50 +0000
parents e6e210e4581d
children 94a0369ed3f5
files os_support.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/os_support.c	Thu Dec 27 00:16:48 2007 +0000
+++ b/os_support.c	Thu Dec 27 01:38:50 2007 +0000
@@ -29,7 +29,7 @@
 #ifndef HAVE_SYS_POLL_H
 #ifdef HAVE_WINSOCK2_H
 #include <winsock2.h>
-#else
+#elif defined (HAVE_SYS_SELECT_H)
 #include <sys/select.h>
 #endif
 #endif