aboutsummaryrefslogtreecommitdiffstats
path: root/masm/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'masm/config.h')
-rw-r--r--masm/config.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/masm/config.h b/masm/config.h
index 2f4d9f4925..1ced4e454c 100644
--- a/masm/config.h
+++ b/masm/config.h
@@ -45,8 +45,10 @@
#include <wtf/Platform.h>
#ifdef __cplusplus
#include <wtf/Vector.h>
+#include <cmath>
+#else
+#include <math.h>
#endif
#include <limits.h>
-#include <math.h>
#endif // MASM_CONFIG_H