summaryrefslogtreecommitdiff
path: root/libc/inet
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-14 00:16:18 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-14 00:16:18 +0000
commit80908df22df6d73847801a48f26380f996cf10c4 (patch)
tree880aa143766e10de61357bb2df4453291210ba25 /libc/inet
parent380ba23e2dabeb2280ebf353cba27867ef027fbe (diff)
make sure linux/types.h doesnt screw us up
Diffstat (limited to 'libc/inet')
-rw-r--r--libc/inet/netlinkaccess.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/libc/inet/netlinkaccess.h b/libc/inet/netlinkaccess.h
index 12269bfcf..a47d8901c 100644
--- a/libc/inet/netlinkaccess.h
+++ b/libc/inet/netlinkaccess.h
@@ -21,8 +21,16 @@
#include <features.h>
#include <stdint.h>
-#include <linux/netlink.h>
+#include <sys/types.h>
+
+#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/rtnetlink.h>
+#include <linux/netlink.h>
/* Should prob be a configure option or something */
#ifdef __UCLIBC_USE_NETLINK__