summaryrefslogtreecommitdiff
path: root/libavformat/os_support.c
diff options
context:
space:
mode:
authorMichael Kostylev <michael.kostylev@gmail.com>2007-12-27 01:38:50 +0000
committerDiego Biurrun <diego@biurrun.de>2007-12-27 01:38:50 +0000
commit81644c2ee08899301efc852281efea4e3b8f7d11 (patch)
treecef30b637e1c51ba6d75ceee09f9748c5ef3e9ea /libavformat/os_support.c
parent945208caeaa058ecc477f5e34c526d7bb7c27ddb (diff)
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
Diffstat (limited to 'libavformat/os_support.c')
-rw-r--r--libavformat/os_support.c2
1 files changed, 1 insertions, 1 deletions
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 <winsock2.h>
-#else
+#elif defined (HAVE_SYS_SELECT_H)
#include <sys/select.h>
#endif
#endif