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
This commit is contained in:
Michael Kostylev
2007-12-27 01:38:50 +00:00
committed by Diego Biurrun
parent 945208caea
commit 81644c2ee0
2 changed files with 3 additions and 1 deletions

View File

@@ -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