diff options
author | Joseph Myers <joseph@codesourcery.com> | 2009-10-14 14:13:34 +0000 |
---|---|---|
committer | Austin Foxley <austinf@cetoncorp.com> | 2009-10-16 11:44:32 -0700 |
commit | 3c96e3ea9ad76a502406f87ee4c060648b2e37ec (patch) | |
tree | 3ead5c94b4176ee13ceec702479b576422d2a3b3 /libc | |
parent | b6e6a6430d084c9dace10a73aa5559e777809946 (diff) | |
download | uClibc-alpine-3c96e3ea9ad76a502406f87ee4c060648b2e37ec.tar.bz2 uClibc-alpine-3c96e3ea9ad76a502406f87ee4c060648b2e37ec.tar.xz |
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>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libc')
-rw-r--r-- | libc/sysdeps/linux/sh/bits/kernel_types.h | 3 |
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; |