summaryrefslogtreecommitdiffstats
path: root/modules/fdlibm/patches/11_include_cfloat_to_use_flt_eval_method.patch
diff options
context:
space:
mode:
Diffstat (limited to 'modules/fdlibm/patches/11_include_cfloat_to_use_flt_eval_method.patch')
-rw-r--r--modules/fdlibm/patches/11_include_cfloat_to_use_flt_eval_method.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/modules/fdlibm/patches/11_include_cfloat_to_use_flt_eval_method.patch b/modules/fdlibm/patches/11_include_cfloat_to_use_flt_eval_method.patch
new file mode 100644
index 0000000000..a2b7d959a6
--- /dev/null
+++ b/modules/fdlibm/patches/11_include_cfloat_to_use_flt_eval_method.patch
@@ -0,0 +1,21 @@
+diff --git a/math_private.h b/math_private.h
+--- a/math_private.h
++++ b/math_private.h
+@@ -12,16 +12,17 @@
+ /*
+ * from: @(#)fdlibm.h 5.1 93/09/24
+ * $FreeBSD$
+ */
+
+ #ifndef _MATH_PRIVATE_H_
+ #define _MATH_PRIVATE_H_
+
++#include <cfloat>
+ #include <stdint.h>
+ #include <sys/types.h>
+
+ #include "mozilla/EndianUtils.h"
+
+ #include "fdlibm.h"
+
+ /*