diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-12-20 14:25:17 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-12-20 14:25:17 +0000 |
commit | 37e7a36f7d932f8b33522085f0bdc7b1e3adf163 (patch) | |
tree | 06c7fb2c3e83c79b049d9f016979573e2e469068 /toolchain/uClibc | |
parent | 2fcbf52f19fa863c0d62a507afecd14ed7add91f (diff) | |
download | upstream-37e7a36f7d932f8b33522085f0bdc7b1e3adf163.tar.gz upstream-37e7a36f7d932f8b33522085f0bdc7b1e3adf163.tar.bz2 upstream-37e7a36f7d932f8b33522085f0bdc7b1e3adf163.zip |
fix a compile error with uclibc 0.9.32 and newer kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24735 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/uClibc')
-rw-r--r-- | toolchain/uClibc/patches-0.9.32/160-netlinkaccess_type_fix.patch | 17 |
1 files changed, 17 insertions, 0 deletions
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 <sys/types.h> + + #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 <linux/types.h> + #include <linux/rtnetlink.h> + #include <linux/netlink.h> + |