Ver Fonte

Protect some header inclusions.

Manuel Novoa III há 22 anos atrás
pai
commit
0e1f40d1db
1 ficheiros alterados com 2 adições e 0 exclusões
  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>