summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/v850
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-08-26 17:13:30 +0000
committerEric Andersen <andersen@codepoet.org>2002-08-26 17:13:30 +0000
commit32644f78992f912196bf0a8a308b1dd8f8847dfe (patch)
tree1bd3eda011db901eb4a7620c22c0b75a7e9fd115 /libc/sysdeps/linux/v850
parent920359d7d2fb76694e4163df9968667d7c83d7f2 (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/v850')
-rw-r--r--libc/sysdeps/linux/v850/bits/kernel_types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/v850/bits/kernel_types.h b/libc/sysdeps/linux/v850/bits/kernel_types.h
index a6514ad26..6668d38b9 100644
--- a/libc/sysdeps/linux/v850/bits/kernel_types.h
+++ b/libc/sysdeps/linux/v850/bits/kernel_types.h
@@ -10,6 +10,8 @@
*
* Written by Miles Bader <miles@gnu.org>
*/
+#ifndef __ASM_V850_POSIX_TYPES_H
+#define __ASM_V850_POSIX_TYPES_H
typedef unsigned int __kernel_dev_t;
typedef unsigned long __kernel_ino_t;
@@ -39,3 +41,5 @@ typedef unsigned short __kernel_old_gid_t;
#ifdef __GNUC__
typedef long long __kernel_loff_t;
#endif
+
+#endif /* __ASM_V850_POSIX_TYPES_H */