summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/bits
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/bits')
-rw-r--r--libc/sysdeps/linux/common/bits/uClibc_locale.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/bits/uClibc_locale.h b/libc/sysdeps/linux/common/bits/uClibc_locale.h
index a9cd39f2f..9227f5840 100644
--- a/libc/sysdeps/linux/common/bits/uClibc_locale.h
+++ b/libc/sysdeps/linux/common/bits/uClibc_locale.h
@@ -63,7 +63,7 @@
#define __LC_ALL 6
/**********************************************************************/
-#ifdef _LIBC
+#if defined(_LIBC) && defined(__WCHAR_ENABLED)
/* TODO: This really needs to be somewhere else... */
#include <limits.h>