changeset 7018 | fdf447a07aff |
parent 7017 | 25872950aa80 |
child 7020 | 58ca1f0fa3a7 |
7017:25872950aa80 | 7018:fdf447a07aff |
---|---|
1 This allows us to get some function from math.h that other platforms are |
|
2 getting from ieeefp.h. |
|
3 Can send upstream since it already has an ifdef statement for Solaris. |
|
4 |
|
5 diff --git a/xpcom/ds/nsMathUtils.h b/xpcom/ds/nsMathUtils.h |
|
6 --- a/xpcom/ds/nsMathUtils.h |
|
7 +++ b/xpcom/ds/nsMathUtils.h |
|
8 @@ -13,6 +13,7 @@ |
|
9 #include <float.h> |
|
10 |
|
11 #ifdef SOLARIS |
|
12 +#include <math.h> |
|
13 #include <ieeefp.h> |
|
14 #endif |
|
15 |