From 33711da4e90f2904aec46544c7344cd08d07c56a Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Thu, 22 Jun 2017 22:34:49 +0000 Subject: Fix float128 uses of xlocale.h. Three float128 files still include xlocale.h after it was removed. I don't know why this didn't cause problems for powerpc64le float128 testing; it did cause problems for my x86_64 float128 testing. This patch changes the includes to use bits/types/locale_t.h. Tested for x86_64 (in conjunction with float128 patches). * sysdeps/ieee754/float128/strtof128_l.c: Include instead of . * sysdeps/ieee754/float128/wcstof128.c: Likewise. * sysdeps/ieee754/float128/wcstof128_l.c: Likewise. --- ChangeLog | 7 +++++++ sysdeps/ieee754/float128/strtof128_l.c | 2 +- sysdeps/ieee754/float128/wcstof128.c | 2 +- sysdeps/ieee754/float128/wcstof128_l.c | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3c86b4a..af62c05 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2017-06-22 Joseph Myers + + * sysdeps/ieee754/float128/strtof128_l.c: Include + instead of . + * sysdeps/ieee754/float128/wcstof128.c: Likewise. + * sysdeps/ieee754/float128/wcstof128_l.c: Likewise. + 2017-06-22 Siddhesh Poyarekar * benchtests/scripts/benchout_strings.schema.json: New file. diff --git a/sysdeps/ieee754/float128/strtof128_l.c b/sysdeps/ieee754/float128/strtof128_l.c index d3d55ea..a541d60 100644 --- a/sysdeps/ieee754/float128/strtof128_l.c +++ b/sysdeps/ieee754/float128/strtof128_l.c @@ -16,7 +16,7 @@ License along with the GNU C Library; if not, see . */ -#include +#include /* Bring in potential typedef for _Float128 early for declaration below. */ #include diff --git a/sysdeps/ieee754/float128/wcstof128.c b/sysdeps/ieee754/float128/wcstof128.c index 1d6326d..49aa4d6 100644 --- a/sysdeps/ieee754/float128/wcstof128.c +++ b/sysdeps/ieee754/float128/wcstof128.c @@ -17,7 +17,7 @@ . */ #include -#include +#include #define USE_WIDE_CHAR 1 diff --git a/sysdeps/ieee754/float128/wcstof128_l.c b/sysdeps/ieee754/float128/wcstof128_l.c index 2df7184..b295087 100644 --- a/sysdeps/ieee754/float128/wcstof128_l.c +++ b/sysdeps/ieee754/float128/wcstof128_l.c @@ -17,7 +17,7 @@ . */ #include -#include +#include #define USE_WIDE_CHAR 1 -- cgit v1.1