summaryrefslogtreecommitdiff
path: root/libc/stdlib
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-12 20:41:33 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:21 +0200
commitbb2512780405353b1f66ffe93483972b97d1aec9 (patch)
tree7e7e93f5ca07cd192b019cf6f99dbb213e3baa5f /libc/stdlib
parent5b273df4c3516dbb419140be7f98da3d8c0ac40b (diff)
do not include xlocale.h, it is included by locale.h when needed
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/stdlib')
-rw-r--r--libc/stdlib/_strtod.c4
-rw-r--r--libc/stdlib/stdlib.c4
2 files changed, 0 insertions, 8 deletions
diff --git a/libc/stdlib/_strtod.c b/libc/stdlib/_strtod.c
index f468c7347..cc57d14b9 100644
--- a/libc/stdlib/_strtod.c
+++ b/libc/stdlib/_strtod.c
@@ -112,10 +112,6 @@
# include <bits/uClibc_uwchar.h>
#endif
-#ifdef __UCLIBC_HAS_XLOCALE__
-# include <xlocale.h>
-#endif
-
/* Handle _STRTOD_HEXADECIMAL_FLOATS via uClibc config now. */
#undef _STRTOD_HEXADECIMAL_FLOATS
#ifdef __UCLIBC_HAS_HEXADECIMAL_FLOATS__
diff --git a/libc/stdlib/stdlib.c b/libc/stdlib/stdlib.c
index de8f084bd..ef33be308 100644
--- a/libc/stdlib/stdlib.c
+++ b/libc/stdlib/stdlib.c
@@ -100,10 +100,6 @@
#include <wctype.h>
#include <bits/uClibc_uwchar.h>
-#ifdef __UCLIBC_HAS_XLOCALE__
-#include <xlocale.h>
-#endif /* __UCLIBC_HAS_XLOCALE__ */
-
/* TODO: clean up the following... */
#if WCHAR_MAX > 0xffffUL