poll() emulation for BeOS, and maybe MinGW.

Originally committed as revision 7987 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
François Revol
2007-02-15 07:44:10 +00:00
parent befa3397c5
commit b0c858d834
4 changed files with 103 additions and 0 deletions

View File

@@ -25,7 +25,9 @@
#include <unistd.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#ifdef HAVE_SYS_POLL_H
#include <sys/poll.h>
#endif
#include <errno.h>
#include <sys/time.h>
#undef time //needed because HAVE_AV_CONFIG_H is defined on top