From 576ced55309f3e5ab476a68f2cd1961f07e071a1 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 8 Jul 2014 02:48:51 +0200 Subject: [PATCH] avfilter/vf_drawtext: Add #if HAVE_UNISTD_H around #include Signed-off-by: Michael Niedermayer --- libavfilter/vf_drawtext.c | 2 ++ 1 file changed, 2 insertions(+) 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 #include #include +#if HAVE_UNISTD_H #include +#endif #if CONFIG_LIBFONTCONFIG #include