diff options
Diffstat (limited to 'libc/sysdeps/linux/alpha/bits')
-rw-r--r-- | libc/sysdeps/linux/alpha/bits/kernel_types.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/alpha/bits/kernel_types.h b/libc/sysdeps/linux/alpha/bits/kernel_types.h index b02734414..a0b4b3670 100644 --- a/libc/sysdeps/linux/alpha/bits/kernel_types.h +++ b/libc/sysdeps/linux/alpha/bits/kernel_types.h @@ -1,5 +1,11 @@ -#ifndef _BITS_KERNEL_TYPES_H -#define _BITS_KERNEL_TYPES_H +/* Note that we use the exact same include guard #define names + * as asm/posix_types.h. This will avoid gratuitous conflicts + * with the posix_types.h kernel header, and will ensure that + * our private content, and not the kernel header, will win. + * -Erik + */ +#ifndef _ALPHA_POSIX_TYPES_H +#define _ALPHA_POSIX_TYPES_H typedef unsigned int __kernel_dev_t; typedef unsigned int __kernel_ino_t; @@ -27,4 +33,4 @@ typedef __kernel_gid_t __kernel_old_gid_t; typedef __kernel_uid_t __kernel_uid32_t; typedef __kernel_gid_t __kernel_gid32_t; -#endif /* _BITS_KERNEL_TYPES_H */ +#endif /* _ALPHA_POSIX_TYPES_H */ |