summaryrefslogtreecommitdiffstats
path: root/xpcom/ds
diff options
context:
space:
mode:
Diffstat (limited to 'xpcom/ds')
-rw-r--r--xpcom/ds/nsMathUtils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/xpcom/ds/nsMathUtils.h b/xpcom/ds/nsMathUtils.h
index 08bf908da..61eb47501 100644
--- a/xpcom/ds/nsMathUtils.h
+++ b/xpcom/ds/nsMathUtils.h
@@ -11,7 +11,8 @@
#include <cmath>
#include <float.h>
-#ifdef XP_SOLARIS
+#if defined(XP_SOLARIS)
+#include <math.h>
#include <ieeefp.h>
#endif