1 This patch is out of uClibc trunk.
3 --- a/libc/sysdeps/linux/i386/bits/kernel_types.h
4 +++ b/libc/sysdeps/linux/i386/bits/kernel_types.h
7 /* a hack for compiling a 32 bit user space with 64 bit
9 -#if !defined(__ARCH_I386_POSIX_TYPES_H) && !defined(_ASM_X86_64_POSIX_TYPES_H)
10 +#if !defined(__ARCH_I386_POSIX_TYPES_H) && \
11 + !defined(_ASM_X86_64_POSIX_TYPES_H) && \
12 + !defined(_ASM_X86_POSIX_TYPES_32_H) && \
13 + !defined(_ASM_X86_POSIX_TYPES_64_H)
14 #define _ASM_X86_64_POSIX_TYPES_H
15 #define __ARCH_I386_POSIX_TYPES_H
17 +#define _ASM_X86_POSIX_TYPES_32_H
18 +#define _ASM_X86_POSIX_TYPES_64_H
19 typedef unsigned short __kernel_dev_t;
20 typedef unsigned long __kernel_ino_t;
21 typedef unsigned short __kernel_mode_t;