components/desktop/firefox/patches/firefox-07-nsMathUtils.patch
author Petr Sumbera <petr.sumbera@oracle.com>
Mon, 05 Sep 2016 05:00:46 -0700
branchs11u3-sru
changeset 7035 4c2f26e9d5ab
permissions -rw-r--r--
24361911 Upgrade Firefox to version 45.4.0 ESR 23033044 firefox needs to be built with "--with-intl-api" option 24708365 problem in FIREFOX/BROWSER 24708614 problem in FIREFOX/BROWSER

This allows us to get some function from math.h that other platforms are
getting from ieeefp.h.
Can send upstream since it already has an ifdef statement for Solaris.

diff --git a/xpcom/ds/nsMathUtils.h b/xpcom/ds/nsMathUtils.h
--- a/xpcom/ds/nsMathUtils.h
+++ b/xpcom/ds/nsMathUtils.h
@@ -13,6 +13,7 @@
 #include <float.h>
 
 #ifdef SOLARIS
+#include <math.h>
 #include <ieeefp.h>
 #endif