summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2011-03-08 09:34:25 +0100
committerKhem Raj <raj.khem@gmail.com>2011-03-08 22:48:41 -0800
commiteb9cca27b385873c6788b18a13d918c873540866 (patch)
treec16d2c3a5eeff820e57d2e07eb5c8eb9021b7473 /libc
parent526af41956be03b56e1bf33ec144e797256c1255 (diff)
nios2: Correct guard #defines in bits/kernel_types.h
The guards in posix_types.h are called _ASM_NIOS2_POSIX_TYPES_H, so correctly use them here. Otherwise we wont be able to build uClibc with headers exported from the current nios2 kernel. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/nios2/bits/kernel_types.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/nios2/bits/kernel_types.h b/libc/sysdeps/linux/nios2/bits/kernel_types.h
index 3fcd1af05..8b86d796f 100644
--- a/libc/sysdeps/linux/nios2/bits/kernel_types.h
+++ b/libc/sysdeps/linux/nios2/bits/kernel_types.h
@@ -4,8 +4,8 @@
* our private content, and not the kernel header, will win.
* -Erik
*/
-#ifndef __ARCH_NIOS2_POSIX_TYPES_H
-#define __ARCH_NIOS2_POSIX_TYPES_H
+#ifndef _ASM_NIOS2_POSIX_TYPES_H
+#define _ASM_NIOS2_POSIX_TYPES_H
typedef unsigned long __kernel_dev_t;
typedef unsigned long __kernel_ino_t;
@@ -41,4 +41,4 @@ typedef struct {
#endif
} __kernel_fsid_t;
-#endif /* __ARCH_NIOS2_POSIX_TYPES_H */
+#endif /* _ASM_NIOS2_POSIX_TYPES_H */