fix a compile error with uclibc 0.9.32 and newer kernels
[openwrt/openwrt.git] / toolchain / uClibc / patches-0.9.32 / 160-netlinkaccess_type_fix.patch
1 --- a/libc/inet/netlinkaccess.h
2 +++ b/libc/inet/netlinkaccess.h
3 @@ -25,12 +25,8 @@
4 #include <sys/types.h>
5
6 #if defined __ASSUME_NETLINK_SUPPORT || defined __UCLIBC_USE_NETLINK__
7 -#define _LINUX_TYPES_H
8 -typedef uint8_t __u8;
9 -typedef uint16_t __u16;
10 -typedef uint32_t __u32;
11 -typedef uint64_t __u64;
12 -typedef int32_t __s32;
13 +
14 +#include <linux/types.h>
15 #include <linux/rtnetlink.h>
16 #include <linux/netlink.h>
17