Update math.h-exclude-floatingpoint.h.patch

This commit is contained in:
Igor Pashev 2019-12-04 16:03:07 +03:00
parent 37db4fd6f0
commit 8c180b6929
1 changed files with 24 additions and 0 deletions

View File

@ -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