Module Name: src Committed By: kre Date: Wed Apr 3 04:40:23 UTC 2024
Modified Files: src/lib/libm/src: math_private.h Log Message: For i386, if ft[sg]etprec() are to be used, ensure there's a prototype for them in scope (so include <ieeefp.h>) Might fix the i386 build. To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/lib/libm/src/math_private.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libm/src/math_private.h diff -u src/lib/libm/src/math_private.h:1.31 src/lib/libm/src/math_private.h:1.32 --- src/lib/libm/src/math_private.h:1.31 Tue Jan 23 15:45:07 2024 +++ src/lib/libm/src/math_private.h Wed Apr 3 04:40:23 2024 @@ -11,7 +11,7 @@ /* * from: @(#)fdlibm.h 5.1 93/09/24 - * $NetBSD: math_private.h,v 1.31 2024/01/23 15:45:07 christos Exp $ + * $NetBSD: math_private.h,v 1.32 2024/04/03 04:40:23 kre Exp $ */ #ifndef _MATH_PRIVATE_H_ @@ -348,6 +348,9 @@ do { \ /* Support switching the mode to FP_PE if necessary. */ #if defined(__i386__) && !defined(NO_FPSETPREC) + +#include <ieeefp.h> + #define ENTERI() ENTERIT(long double) #define ENTERIT(returntype) \ returntype __retval; \