From 81644c2ee08899301efc852281efea4e3b8f7d11 Mon Sep 17 00:00:00 2001 From: Michael Kostylev Date: Thu, 27 Dec 2007 01:38:50 +0000 Subject: Check for the presence of sys/select.h and conditionally #include it. patch by Michael Kostylev, mik niipt ru Originally committed as revision 11324 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/os_support.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/os_support.c') diff --git a/libavformat/os_support.c b/libavformat/os_support.c index 983523b9f5..025797b942 100644 --- a/libavformat/os_support.c +++ b/libavformat/os_support.c @@ -29,7 +29,7 @@ #ifndef HAVE_SYS_POLL_H #ifdef HAVE_WINSOCK2_H #include -#else +#elif defined (HAVE_SYS_SELECT_H) #include #endif #endif -- cgit v1.2.3