]> git.sesse.net Git - ffmpeg/commitdiff
ffserver: add HAVE_UNISTD_H around #include <unistd.h>
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 7 Jul 2014 23:55:47 +0000 (01:55 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 7 Jul 2014 23:56:53 +0000 (01:56 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffserver.c

index a6ab458de62ada0e242ac3216ad39da14e3a94ca..08f78785417a25b151d390ddf4632536c1384e08 100644 (file)
@@ -56,7 +56,9 @@
 #include "libavutil/time.h"
 
 #include <stdarg.h>
+#if HAVE_UNISTD_H
 #include <unistd.h>
+#endif
 #include <fcntl.h>
 #include <sys/ioctl.h>
 #if HAVE_POLL_H