X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=toolchain%2FuClibc%2Fpatches%2F0.9.30%2F180-fix_kernel_types_with_recent_kernel.patch;fp=toolchain%2FuClibc%2Fpatches%2F0.9.30%2F180-fix_kernel_types_with_recent_kernel.patch;h=89c60fee36c02fda21625cbf6c9acb7498373a72;hb=edef5abd2472dd4e750ccc6d1164a40dbcaf2549;hp=2c68583be3dd28886123ed5cda8041e9973dd318;hpb=cc3e46f28e5d570e3f03d5130fd49dea093e48a8;p=openwrt%2Fopenwrt.git diff --git a/toolchain/uClibc/patches/0.9.30/180-fix_kernel_types_with_recent_kernel.patch b/toolchain/uClibc/patches/0.9.30/180-fix_kernel_types_with_recent_kernel.patch index 2c68583be3..89c60fee36 100644 --- a/toolchain/uClibc/patches/0.9.30/180-fix_kernel_types_with_recent_kernel.patch +++ b/toolchain/uClibc/patches/0.9.30/180-fix_kernel_types_with_recent_kernel.patch @@ -32,3 +32,18 @@ index 6609dd3..8641a48 100644 -- 1.5.6.5 +diff -ruN uClibc-0.9.30-old/libc/sysdeps/linux/x86_64/bits/kernel_types.h uClibc-0.9.30-new/libc/sysdeps/linux/x86_64/bits/kernel_types.h +--- uClibc-0.9.30-old/libc/sysdeps/linux/x86_64/bits/kernel_types.h 2008-07-23 13:23:36.000000000 +0200 ++++ uClibc-0.9.30-new/libc/sysdeps/linux/x86_64/bits/kernel_types.h 2009-01-21 16:33:27.000000000 +0100 +@@ -4,8 +4,10 @@ + * our private content, and not the kernel header, will win. + * -Erik + */ +-#ifndef _ASM_X86_64_POSIX_TYPES_H ++#if !defined(_ASM_X86_64_POSIX_TYPES_H) && \ ++ !defined(_ASM_X86_POSIX_TYPES_64_H) + #define _ASM_X86_64_POSIX_TYPES_H ++#define _ASM_X86_POSIX_TYPES_64_H + + typedef unsigned long __kernel_dev_t; + typedef unsigned long __kernel_ino_t;