summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sh/bits
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2009-10-14 14:13:34 +0000
committerJoseph Myers <joseph@codesourcery.com>2009-10-14 14:13:34 +0000
commit75aad665ccf97c139a437b26c44d15b71ce0db33 (patch)
treeebb4ba1a79f9b6ebb8b10140062b1716a4d20a99 /libc/sysdeps/linux/sh/bits
parent69d23570f0598d4473533c75d89dfc7da27e07b4 (diff)
Fix SH bits/kernel_types.h for new kernel headers.
Recent SH kernel headers merge 32-bit and 64-bit headers, changing the include guards on asm/posix_types.h in the process; update uClibc code depending on those include guards. Signed-off-by: Joseph Myers <joseph@codesourcery.com>
Diffstat (limited to 'libc/sysdeps/linux/sh/bits')
-rw-r--r--libc/sysdeps/linux/sh/bits/kernel_types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/sh/bits/kernel_types.h b/libc/sysdeps/linux/sh/bits/kernel_types.h
index 7d55cf510..f96e9fa30 100644
--- a/libc/sysdeps/linux/sh/bits/kernel_types.h
+++ b/libc/sysdeps/linux/sh/bits/kernel_types.h
@@ -4,8 +4,9 @@
* our private content, and not the kernel header, will win.
* -Erik
*/
-#ifndef __ASM_SH_POSIX_TYPES_H
+#if !defined __ASM_SH_POSIX_TYPES_H && !defined __ASM_SH_POSIX_TYPES_32_H
#define __ASM_SH_POSIX_TYPES_H
+#define __ASM_SH_POSIX_TYPES_32_H
typedef unsigned short __kernel_dev_t;
typedef unsigned long __kernel_ino_t;