OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90e38b9
)
libc/inet/netlinkaccess.h: Use the types from kernel
author
Khem Raj
<raj.khem@gmail.com>
Sun, 2 Jan 2011 06:59:00 +0000
(22:59 -0800)
committer
Khem Raj
<raj.khem@gmail.com>
Sun, 2 Jan 2011 07:00:47 +0000
(23:00 -0800)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
libc/inet/netlinkaccess.h
patch
|
blob
|
history
diff --git
a/libc/inet/netlinkaccess.h
b/libc/inet/netlinkaccess.h
index
5111d38
..
96ece39
100644
(file)
--- a/
libc/inet/netlinkaccess.h
+++ b/
libc/inet/netlinkaccess.h
@@
-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>