From e496ae16f640baef05bdff9e3fe7d39a38129fa2 Mon Sep 17 00:00:00 2001 From: Daniel Tipping Date: Wed, 12 Dec 2018 12:35:55 +0000 Subject: [PATCH] Windows: examples: remove unistd.h --- examples/C/grib_keys_iterator.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/C/grib_keys_iterator.c b/examples/C/grib_keys_iterator.c index 3fc6a38ed..e26fac72e 100644 --- a/examples/C/grib_keys_iterator.c +++ b/examples/C/grib_keys_iterator.c @@ -21,9 +21,12 @@ #include #include #include -#include #include +#if !(defined(_WIN32) && defined(_MSC_VER)) +#include +#endif + #include "eccodes.h" #define MAX_VAL_LEN 1024