summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 34498bd89..0aa48b914 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -6,7 +6,10 @@
#include <string.h>
#include <stdarg.h>
#include <math.h>
+
+#ifndef _WIN32
#include <unistd.h>
+#endif
#include "../common/core.h"
#include "../common/timer.h"