diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-08-26 17:13:30 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-08-26 17:13:30 +0000 |
commit | 32644f78992f912196bf0a8a308b1dd8f8847dfe (patch) | |
tree | 1bd3eda011db901eb4a7620c22c0b75a7e9fd115 /libc/sysdeps/linux/common/bits | |
parent | 920359d7d2fb76694e4163df9968667d7c83d7f2 (diff) |
Make bits/kernel_types.h include guard names match the include
guard names used by the kernel's asm/posix_types.h to eliminate
gratuitous conflicts and let our file win over the very-likely-
to-be-broken kernel header file.
-Erik
Diffstat (limited to 'libc/sysdeps/linux/common/bits')
-rw-r--r-- | libc/sysdeps/linux/common/bits/kernel_types.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/bits/kernel_types.h b/libc/sysdeps/linux/common/bits/kernel_types.h index c48ea85a6..4567827b3 100644 --- a/libc/sysdeps/linux/common/bits/kernel_types.h +++ b/libc/sysdeps/linux/common/bits/kernel_types.h @@ -1,7 +1,11 @@ #ifndef _BITS_KERNEL_TYPES_H #define _BITS_KERNEL_TYPES_H -/* Sigh. We need to carefully wrap this one... */ +/* Sigh. We need to carefully wrap this one... No guarantees + * that the asm/posix_types.h kernel header is working. Many + * arches have broken headers that introduce tons of gratuitous + * conflicts with uClibc's namespace. See bits/kernel_types.h + * for i386, arm, etc for examples... */ #warning You really should include a proper bits/kernel_types.h for your architecture #ifndef __GLIBC__ |