about summary refs log tree commit diff
path: root/sysdeps/ieee754/float128/wcstof128_l.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-06-22 22:34:49 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-06-22 22:34:49 +0000
commit33711da4e90f2904aec46544c7344cd08d07c56a (patch)
tree4b3a4869e357d173e5bd81ad9411388c65bc221e /sysdeps/ieee754/float128/wcstof128_l.c
parent5dee08fda600af2bfcf700d27b04f02b18fe91f1 (diff)
downloadglibc-33711da4e90f2904aec46544c7344cd08d07c56a.tar.gz
glibc-33711da4e90f2904aec46544c7344cd08d07c56a.tar.xz
glibc-33711da4e90f2904aec46544c7344cd08d07c56a.zip
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
	<bits/types/locale_t.h> instead of <xlocale.h>.
	* sysdeps/ieee754/float128/wcstof128.c: Likewise.
	* sysdeps/ieee754/float128/wcstof128_l.c: Likewise.
Diffstat (limited to 'sysdeps/ieee754/float128/wcstof128_l.c')
-rw-r--r--sysdeps/ieee754/float128/wcstof128_l.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/ieee754/float128/wcstof128_l.c b/sysdeps/ieee754/float128/wcstof128_l.c
index 2df71848ec..b295087efe 100644
--- a/sysdeps/ieee754/float128/wcstof128_l.c
+++ b/sysdeps/ieee754/float128/wcstof128_l.c
@@ -17,7 +17,7 @@
    <http://www.gnu.org/licenses/>.  */
 
 #include <stddef.h>
-#include <xlocale.h>
+#include <bits/types/locale_t.h>
 
 
 #define	USE_WIDE_CHAR	1