Browse Source

Protect some header inclusions.

Manuel Novoa III 22 years ago
parent
commit
0e1f40d1db
1 changed files with 2 additions and 0 deletions
  1. 2 0
      libc/sysdeps/linux/common/bits/uClibc_locale.h

+ 2 - 0
libc/sysdeps/linux/common/bits/uClibc_locale.h

@@ -67,9 +67,11 @@
 /* #if defined(_LIBC) && !defined(__LOCALE_C_ONLY) */
 #ifndef __LOCALE_C_ONLY
 
+#ifdef _LIBC
 #include <stddef.h>
 #include <stdint.h>
 #include <bits/uClibc_touplow.h>
+#endif
 
 #if defined(_LIBC) && !defined(__UCLIBC_GEN_LOCALE)
 #include <bits/uClibc_locale_data.h>