From 32644f78992f912196bf0a8a308b1dd8f8847dfe Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 26 Aug 2002 17:13:30 +0000 Subject: 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 --- libc/sysdeps/linux/common/bits/kernel_types.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'libc/sysdeps/linux/common/bits/kernel_types.h') 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__ -- cgit v1.2.3