diff os_support.c @ 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 cbc58d02f912
children 1135ef610233
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