summaryrefslogtreecommitdiff
path: root/toolchain/uClibc/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-02 13:22:45 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-02 13:22:45 +0100
commitdfadb4d959da4c63d0c634f0d50713f3fa679e50 (patch)
tree0b4d2ac5065e36bcc9850aa394bd6b163e6a833b /toolchain/uClibc/patches
parentebad1f5ce74dfa9dead8d84c4d91051c68dc4e33 (diff)
make bulk fixes. fix toolchain building for sparc64/ppc
Diffstat (limited to 'toolchain/uClibc/patches')
-rw-r--r--toolchain/uClibc/patches/netlinkaccess.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/toolchain/uClibc/patches/netlinkaccess.patch b/toolchain/uClibc/patches/netlinkaccess.patch
new file mode 100644
index 000000000..a022d53fa
--- /dev/null
+++ b/toolchain/uClibc/patches/netlinkaccess.patch
@@ -0,0 +1,20 @@
+diff -Nur uClibc-0.9.32-rc1.orig/libc/inet/netlinkaccess.h uClibc-0.9.32-rc1/libc/inet/netlinkaccess.h
+--- uClibc-0.9.32-rc1.orig/libc/inet/netlinkaccess.h 2010-12-17 20:05:17.000000000 +0100
++++ uClibc-0.9.32-rc1/libc/inet/netlinkaccess.h 2011-01-01 15:49:58.906931975 +0100
+@@ -22,15 +22,8 @@
+ #include <features.h>
+ #include <stdint.h>
+ #include <unistd.h>
+-#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 <asm/types.h>
+ #include <linux/rtnetlink.h>
+ #include <linux/netlink.h>
+