ffserver: add 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 01:55:47 +02:00
parent 1574eedd0e
commit 307239bdb6
1 changed files with 2 additions and 0 deletions

View File

@ -56,7 +56,9 @@
#include "libavutil/time.h" #include "libavutil/time.h"
#include <stdarg.h> #include <stdarg.h>
#if HAVE_UNISTD_H
#include <unistd.h> #include <unistd.h>
#endif
#include <fcntl.h> #include <fcntl.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#if HAVE_POLL_H #if HAVE_POLL_H