From 1574eedd0e9191ea052ade8a3b34b61c033baf89 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 8 Jul 2014 01:55:47 +0200 Subject: [PATCH] tools/yuvcmp: add HAVE_UNISTD_H around #include Signed-off-by: Michael Niedermayer --- tools/yuvcmp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 #include #include -#include +#if HAVE_UNISTD_H +#include +#endif int main(int argc, char **argv)