diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-07-08 03:55:47 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-07-08 03:56:33 +0400 |
commit | 1574eedd0e9191ea052ade8a3b34b61c033baf89 (patch) | |
tree | e403bed1b7d387351ea8addcfe4c5625a0228bf1 /tools | |
parent | 39ea21713c545607d3269d4414e3fe6224cf9a21 (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.c | 4 |
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) |