poll() emulation for BeOS, and maybe MinGW.
[ffmpeg.git] / ffserver.c
index 138e607..114196d 100644 (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