Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-07-08 03:55:47 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-07-08 03:56:53 +0400
commit307239bdb629e6085cac106102986fe436427010 (patch)
tree8c796ce84e9e86742cd66256757b0a53571029c1 /ffserver.c
parent1574eedd0e9191ea052ade8a3b34b61c033baf89 (diff)
ffserver: add HAVE_UNISTD_H around #include <unistd.h>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffserver.c')
-rw-r--r--ffserver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ffserver.c b/ffserver.c
index a6ab458de6..08f7878541 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -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