summaryrefslogtreecommitdiffstats
path: root/xpcom/ds
diff options
context:
space:
mode:
Diffstat (limited to 'xpcom/ds')
-rw-r--r--xpcom/ds/nsMathUtils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/xpcom/ds/nsMathUtils.h b/xpcom/ds/nsMathUtils.h
index cbbd38611..08bf908da 100644
--- a/xpcom/ds/nsMathUtils.h
+++ b/xpcom/ds/nsMathUtils.h
@@ -11,6 +11,10 @@
#include <cmath>
#include <float.h>
+#ifdef XP_SOLARIS
+#include <ieeefp.h>
+#endif
+
/*
* round
*/