Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-07-08 03:55:47 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-07-08 03:56:33 +0400
commit1574eedd0e9191ea052ade8a3b34b61c033baf89 (patch)
treee403bed1b7d387351ea8addcfe4c5625a0228bf1 /tools
parent39ea21713c545607d3269d4414e3fe6224cf9a21 (diff)
tools/yuvcmp: add HAVE_UNISTD_H around #include <unistd.h>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tools')
-rw-r--r--tools/yuvcmp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/yuvcmp.c b/tools/yuvcmp.c
index 11585f9b4c..65b1794d07 100644
--- a/tools/yuvcmp.c
+++ b/tools/yuvcmp.c
@@ -9,8 +9,10 @@
#include <stdio.h>
#include <sys/stat.h>
#include <fcntl.h>
-#include <unistd.h>
+#if HAVE_UNISTD_H
+#include <unistd.h>
+#endif
int
main(int argc, char **argv)