summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads/libc_pthread_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/linuxthreads/libc_pthread_init.c')
-rw-r--r--libpthread/linuxthreads/libc_pthread_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpthread/linuxthreads/libc_pthread_init.c b/libpthread/linuxthreads/libc_pthread_init.c
index e346ed275..e8482c554 100644
--- a/libpthread/linuxthreads/libc_pthread_init.c
+++ b/libpthread/linuxthreads/libc_pthread_init.c
@@ -29,7 +29,7 @@
libc_hidden_proto(memcpy)
#endif
-#if !(USE_TLS && HAVE___THREAD)
+#if !(USE_TLS && HAVE___THREAD) && defined __UCLIBC_HAS_XLOCALE__
libc_hidden_proto(uselocale)
#endif