summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/msvc.h
diff options
context:
space:
mode:
authorSteven Noonan <steven@uplinklabs.net>2010-01-31 14:13:17 -0800
committerSteven Noonan <steven@uplinklabs.net>2010-01-31 14:15:35 -0800
commit034343cf5b7c05d32509cfc5a22e72d09ea18717 (patch)
treef8573562273720135e3aa527e898c579a1776275 /crawl-ref/source/msvc.h
parentdc2340242b6ec858cc85dc36ee36c8329ac0c83d (diff)
downloadcrawl-ref-034343cf5b7c05d32509cfc5a22e72d09ea18717.tar.gz
crawl-ref-034343cf5b7c05d32509cfc5a22e72d09ea18717.zip
msvc.h: add math.h for floor() and ceil()
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Diffstat (limited to 'crawl-ref/source/msvc.h')
-rw-r--r--crawl-ref/source/msvc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/msvc.h b/crawl-ref/source/msvc.h
index 9cffc252a5..e5cab7bbdf 100644
--- a/crawl-ref/source/msvc.h
+++ b/crawl-ref/source/msvc.h
@@ -10,6 +10,7 @@
#if defined(TARGET_COMPILER_VC)
#include <io.h>
+#include <math.h>
#define fileno _fileno
#define itoa _itoa