include sys/select.h, fix freebsd 5.5 compilation
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>
Fri, 26 Sep 2008 02:13:38 +0000 (02:13 +0000)
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>
Fri, 26 Sep 2008 02:13:38 +0000 (02:13 +0000)
Originally committed as revision 15421 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffmpeg.c

index d9027ae..c7ea0f0 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
 #include <windows.h>
 #endif
 
+#ifdef HAVE_SYS_SELECT_H
+#include <sys/select.h>
+#endif
+
 #if defined(HAVE_TERMIOS_H)
 #include <fcntl.h>
 #include <sys/ioctl.h>