diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-07-08 02:48:51 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-07-08 02:49:13 +0200 |
commit | 576ced55309f3e5ab476a68f2cd1961f07e071a1 (patch) | |
tree | c88a61c1cdc61cacaec22b6a40aaedc996fecb67 | |
parent | 0dbcecc8dc6b7733451b23627e6192fe8d2038aa (diff) | |
download | ffmpeg-576ced55309f3e5ab476a68f2cd1961f07e071a1.tar.gz |
avfilter/vf_drawtext: Add #if HAVE_UNISTD_H around #include <unistd.h>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavfilter/vf_drawtext.c | 2 |
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> |