[FFmpeg-cvslog] ffserver: add HAVE_UNISTD_H around #include <unistd.h>
Michael Niedermayer
git at videolan.org
Tue Jul 8 02:03:17 CEST 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Jul 8 01:55:47 2014 +0200| [307239bdb629e6085cac106102986fe436427010] | committer: Michael Niedermayer
ffserver: add HAVE_UNISTD_H around #include <unistd.h>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=307239bdb629e6085cac106102986fe436427010
---
ffserver.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/ffserver.c b/ffserver.c
index a6ab458..08f7878 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
More information about the ffmpeg-cvslog
mailing list