瀏覽代碼

libc/inet/netlinkaccess.h: Use the types from kernel

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Khem Raj 15 年之前
父節點
當前提交
4ac7ad3543
共有 1 個文件被更改,包括 1 次插入8 次删除
  1. 1 8
      libc/inet/netlinkaccess.h

+ 1 - 8
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>