components/desktop/firefox/patches/firefox-07-nsMathUtils.patch
changeset 5527 611b2d6efdfe
parent 5255 cea0e462549a
equal deleted inserted replaced
5526:570ac9aab8b2 5527:611b2d6efdfe
       
     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