summaryrefslogtreecommitdiff
path: root/xpcom/ds/nsMathUtils.h
diff options
context:
space:
mode:
Diffstat (limited to 'xpcom/ds/nsMathUtils.h')
-rw-r--r--xpcom/ds/nsMathUtils.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/xpcom/ds/nsMathUtils.h b/xpcom/ds/nsMathUtils.h
index cbbd38611a..e3f423c8fd 100644
--- a/xpcom/ds/nsMathUtils.h
+++ b/xpcom/ds/nsMathUtils.h
@@ -11,6 +11,11 @@
#include <cmath>
#include <float.h>
+#ifdef XP_SOLARIS
+#include <math.h>
+#include <ieeefp.h>
+#endif
+
/*
* round
*/