summaryrefslogtreecommitdiff
path: root/mono/utils/mono-compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'mono/utils/mono-compiler.h')
-rw-r--r--mono/utils/mono-compiler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mono/utils/mono-compiler.h b/mono/utils/mono-compiler.h
index 56f5ea90ad..6772dacfd5 100644
--- a/mono/utils/mono-compiler.h
+++ b/mono/utils/mono-compiler.h
@@ -187,6 +187,7 @@
/* Deal with Microsoft C compiler differences */
#ifdef _MSC_VER
+#include <math.h>
#include <float.h>
#define isnan(x) _isnan(x)
#define trunc(x) (((x) < 0) ? ceil((x)) : floor((x)))