diff options
Diffstat (limited to 'libc')
-rw-r--r-- | libc/debian/patches/math.h-exclude-floatingpoint.h.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/libc/debian/patches/math.h-exclude-floatingpoint.h.patch b/libc/debian/patches/math.h-exclude-floatingpoint.h.patch index 607683e..5211929 100644 --- a/libc/debian/patches/math.h-exclude-floatingpoint.h.patch +++ b/libc/debian/patches/math.h-exclude-floatingpoint.h.patch @@ -19,3 +19,27 @@ Index: libc/usr/src/head/math.h #endif /* defined(__EXTENSIONS__) || !defined(_XOPEN_SOURCE) */ #endif /* defined(__EXTENSIONS__) || defined(_XOPEN_SOURCE) || ... */ +Index: libc/usr/src/lib/libm/common/m9x/__fex_hdlr.c +=================================================================== +--- libc.orig/usr/src/lib/libm/common/m9x/__fex_hdlr.c ++++ libc/usr/src/lib/libm/common/m9x/__fex_hdlr.c +@@ -36,6 +36,7 @@ + #include <unistd.h> + #include <thread.h> + #include <math.h> ++#include <sys/ieeefp.h> + #if defined(__SUNPRO_C) + #include <sunmath.h> + #endif +Index: libc/usr/src/lib/libm/common/m9x/__fex_i386.c +=================================================================== +--- libc.orig/usr/src/lib/libm/common/m9x/__fex_i386.c ++++ libc/usr/src/lib/libm/common/m9x/__fex_i386.c +@@ -36,6 +36,7 @@ + #include <ucontext.h> + #include <thread.h> + #include <math.h> ++#include <sys/ieeefp.h> + #if defined(__SUNPRO_C) + #include <sunmath.h> + #endif |