summaryrefslogtreecommitdiff
path: root/libc/inet/netlinkaccess.h
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-01-01 22:59:00 -0800
committerKhem Raj <raj.khem@gmail.com>2011-01-01 23:00:47 -0800
commit4ac7ad3543dd6d7780e71af80fa5c45414451719 (patch)
tree56dd4d0875ed96bf889fcbe6a7f79735d0c09a38 /libc/inet/netlinkaccess.h
parent90e38b925cc5d023bbdccbc8a4a401b0ed282c21 (diff)
libc/inet/netlinkaccess.h: Use the types from kernel
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'libc/inet/netlinkaccess.h')
-rw-r--r--libc/inet/netlinkaccess.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/libc/inet/netlinkaccess.h b/libc/inet/netlinkaccess.h
index 5111d3802..96ece392c 100644
--- 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>