summaryrefslogtreecommitdiff
path: root/libc/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'libc/debian/patches')
-rw-r--r--libc/debian/patches/libc-math-include-ieeefp.patch12
-rw-r--r--libc/debian/patches/series1
2 files changed, 13 insertions, 0 deletions
diff --git a/libc/debian/patches/libc-math-include-ieeefp.patch b/libc/debian/patches/libc-math-include-ieeefp.patch
new file mode 100644
index 0000000..277e414
--- /dev/null
+++ b/libc/debian/patches/libc-math-include-ieeefp.patch
@@ -0,0 +1,12 @@
+Index: libc/usr/src/head/math.h
+===================================================================
+--- libc.orig/usr/src/head/math.h
++++ libc/usr/src/head/math.h
+@@ -31,6 +31,7 @@
+
+ #include <iso/math_iso.h>
+ #include <iso/math_c99.h>
++#include <ieeefp.h>
+
+ #if __cplusplus >= 199711L
+ using std::abs;
diff --git a/libc/debian/patches/series b/libc/debian/patches/series
index 0067aac..bd1c020 100644
--- a/libc/debian/patches/series
+++ b/libc/debian/patches/series
@@ -141,3 +141,4 @@ librpcsvc-uts-rpcsvc.patch
localedef-prog-only.patch
illumos-6993.patch
libc-add-cfsetspeed.patch
+libc-math-include-ieeefp.patch