1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-08-24 11:39:20 +03:00
openwrt-xburst/toolchain/uClibc/patches-0.9.32/160-netlinkaccess_type_fix.patch
nbd 31d38f818a 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
2010-12-20 14:25:17 +00:00

18 lines
415 B
Diff

--- 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>