diff options
author | Steve Lhomme <slhomme@videolan.org> | 2018-09-27 15:00:43 +0300 |
---|---|---|
committer | Steve Lhomme <slhomme@videolan.org> | 2018-09-28 16:52:16 +0300 |
commit | 92b7e8bd536228b145e6c315987a4908bea3b38a (patch) | |
tree | 89b18f192b193d2c0c80c92496f702e51a01272d /tools/dav1d_cli_parse.c | |
parent | 150b4e2c575670c8827765e91793816aae758523 (diff) |
detect unistd.h availability
It doesn't exist on MSVC and it's not needed.
Diffstat (limited to 'tools/dav1d_cli_parse.c')
-rw-r--r-- | tools/dav1d_cli_parse.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/dav1d_cli_parse.c b/tools/dav1d_cli_parse.c index 281c14b..6f671c5 100644 --- a/tools/dav1d_cli_parse.c +++ b/tools/dav1d_cli_parse.c @@ -34,7 +34,9 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <unistd.h> +#ifdef HAVE_UNISTD_H +# include <unistd.h> +#endif #include "dav1d_cli_parse.h" |