patch by Michael Kostylev, mik niipt ru
Originally committed as revision 11324 to svn://svn.ffmpeg.org/ffmpeg/trunk
sdl_video_size
soundcard_h
sys_poll_h
+ sys_select_h
sys_soundcard_h
termios_h
threads
# if it's not found we can emulate it using select().
if enabled ffserver; then
check_header sys/poll.h
+ check_header sys/select.h
fi
# check for some common methods of building with pthread support
#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