[FFmpeg-cvslog] avfilter/vf_drawtext: Add #if HAVE_UNISTD_H around #include <unistd.h>
Michael Niedermayer
git at videolan.org
Tue Jul 8 03:03:28 CEST 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Jul 8 02:48:51 2014 +0200| [576ced55309f3e5ab476a68f2cd1961f07e071a1] | committer: Michael Niedermayer
avfilter/vf_drawtext: Add #if 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=576ced55309f3e5ab476a68f2cd1961f07e071a1
---
libavfilter/vf_drawtext.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c
index 8c090d7..0d829a6 100644
--- a/libavfilter/vf_drawtext.c
+++ b/libavfilter/vf_drawtext.c
@@ -34,7 +34,9 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <time.h>
+#if HAVE_UNISTD_H
#include <unistd.h>
+#endif
#if CONFIG_LIBFONTCONFIG
#include <fontconfig/fontconfig.h>
More information about the ffmpeg-cvslog
mailing list