summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/maps.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/maps.cc')
-rw-r--r--crawl-ref/source/maps.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/maps.cc b/crawl-ref/source/maps.cc
index e4f598dff6..05558cecae 100644
--- a/crawl-ref/source/maps.cc
+++ b/crawl-ref/source/maps.cc
@@ -18,7 +18,9 @@
#include <cstring>
#include <cstdlib>
#include <errno.h>
+#if !_MSC_VER
#include <unistd.h>
+#endif
#include "dungeon.h"
#include "enum.h"