summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mapdef.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/mapdef.cc')
-rw-r--r--crawl-ref/source/mapdef.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/mapdef.cc b/crawl-ref/source/mapdef.cc
index 617b4c2c8d..c73fe63413 100644
--- a/crawl-ref/source/mapdef.cc
+++ b/crawl-ref/source/mapdef.cc
@@ -10,6 +10,7 @@
#include <cstdarg>
#include <cstdio>
#include <cctype>
+#include <cstdlib>
#include <algorithm>
#include "AppHdr.h"