avfilter/vf_drawtext: Add #if HAVE_UNISTD_H around #include <unistd.h>

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-07-08 02:48:51 +02:00
parent 0dbcecc8dc
commit 576ced5530
1 changed files with 2 additions and 0 deletions

View File

@ -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>