aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/gen
diff options
context:
space:
mode:
authorAlex Richardson <arichardson@FreeBSD.org>2021-03-01 14:10:24 +0000
committerAlex Richardson <arichardson@FreeBSD.org>2021-03-01 14:22:47 +0000
commitf5542795b99206a2b4e5a57429d18b9478264e24 (patch)
treedaf0e86021d8ebcd270f7db990f204b649e47685 /lib/libc/gen
parente152c882738ffe26a2f52e420e2a92c014943207 (diff)
downloadsrc-f5542795b99206a2b4e5a57429d18b9478264e24.tar.gz
src-f5542795b99206a2b4e5a57429d18b9478264e24.zip
s_scalbn.c: Add missing float.h include
This caused LDBL_MANT_DIG to not be defined and therefore the scalbnl alias was not being emitted for double==long double platforms. Fixes: 760b2ffc ("Update scalbn* functions to the musl versions") Reported by: Jenkins
Diffstat (limited to 'lib/libc/gen')
-rw-r--r--lib/libc/gen/ldexp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/gen/ldexp.c b/lib/libc/gen/ldexp.c
index 878271576313..cbbcf0782387 100644
--- a/lib/libc/gen/ldexp.c
+++ b/lib/libc/gen/ldexp.c
@@ -7,3 +7,4 @@ __FBSDID("$FreeBSD$");
*/
#define scalbn ldexp
#include "../../msun/src/s_scalbn.c"
+#undef scalbn