summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2003-11-11 22:54:43 +0000
committerManuel Novoa III <mjn3@codepoet.org>2003-11-11 22:54:43 +0000
commit0e1f40d1dbb23993241548d47420872ba434d4f6 (patch)
tree21c6eaa07243417d80d1e066406a29ba56ccc1cb /libc
parent5b6baaa645a1ed9c0e237ee19c7c14c6a12b4d2e (diff)
Protect some header inclusions.
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/common/bits/uClibc_locale.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/bits/uClibc_locale.h b/libc/sysdeps/linux/common/bits/uClibc_locale.h
index 0b8699e32..60e88c8a4 100644
--- a/libc/sysdeps/linux/common/bits/uClibc_locale.h
+++ b/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>