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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/76/merge
Michael Niedermayer 11 years ago
parent 0dbcecc8dc
commit 576ced5530
  1. 2
      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>

Loading…
Cancel
Save