tools/yuvcmp: 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 39ea21713c
commit 1574eedd0e

View File

@ -9,8 +9,10 @@
#include <stdio.h> #include <stdio.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <fcntl.h> #include <fcntl.h>
#include <unistd.h>
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
int int
main(int argc, char **argv) main(int argc, char **argv)