diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-07-08 01:55:47 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-07-08 01:56:53 +0200 |
commit | 307239bdb629e6085cac106102986fe436427010 (patch) | |
tree | 8c796ce84e9e86742cd66256757b0a53571029c1 | |
parent | 1574eedd0e9191ea052ade8a3b34b61c033baf89 (diff) | |
download | ffmpeg-307239bdb629e6085cac106102986fe436427010.tar.gz |
ffserver: add HAVE_UNISTD_H around #include <unistd.h>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | ffserver.c | 2 |
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 |