From: Felix Fietkau Date: Mon, 20 Dec 2010 14:25:17 +0000 (+0000) Subject: fix a compile error with uclibc 0.9.32 and newer kernels X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=010b64f2510f2b6bc79dbc38e8b171ba90639827;p=openwrt%2Fstaging%2Fldir.git fix a compile error with uclibc 0.9.32 and newer kernels SVN-Revision: 24735 --- diff --git a/toolchain/uClibc/patches-0.9.32/160-netlinkaccess_type_fix.patch b/toolchain/uClibc/patches-0.9.32/160-netlinkaccess_type_fix.patch new file mode 100644 index 0000000000..7e59b9bd7d --- /dev/null +++ b/toolchain/uClibc/patches-0.9.32/160-netlinkaccess_type_fix.patch @@ -0,0 +1,17 @@ +--- a/libc/inet/netlinkaccess.h ++++ b/libc/inet/netlinkaccess.h +@@ -25,12 +25,8 @@ + #include + + #if defined __ASSUME_NETLINK_SUPPORT || defined __UCLIBC_USE_NETLINK__ +-#define _LINUX_TYPES_H +-typedef uint8_t __u8; +-typedef uint16_t __u16; +-typedef uint32_t __u32; +-typedef uint64_t __u64; +-typedef int32_t __s32; ++ ++#include + #include + #include +