Skip to content

Commit 0b85571

Browse files
committed
<unistd.h> is not available on Windows
1 parent f3fe401 commit 0b85571

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

contrib/mapcache_detail/mapcache_detail.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,11 @@
3737
#include <stdint.h>
3838
#include <math.h>
3939
#include <float.h>
40+
41+
#ifndef _WIN32
4042
#include <unistd.h>
43+
#endif
44+
4145

4246
#include <apr_general.h>
4347
#include <apr_getopt.h>

0 commit comments

Comments
 (0)