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 04:48:51 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-07-08 04:49:13 +0400
commit576ced55309f3e5ab476a68f2cd1961f07e071a1 (patch)
treec88a61c1cdc61cacaec22b6a40aaedc996fecb67 /libavfilter/vf_drawtext.c
parent0dbcecc8dc6b7733451b23627e6192fe8d2038aa (diff)
avfilter/vf_drawtext: Add #if HAVE_UNISTD_H around #include <unistd.h>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vf_drawtext.c')
-rw-r--r--libavfilter/vf_drawtext.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c
index 8c090d7b4d..0d829a6d5e 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>