add missing linux/types.h header in netlink.h
authorFlorian Fainelli <florian@openwrt.org>
Fri, 26 Mar 2010 17:58:45 +0000 (17:58 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Fri, 26 Mar 2010 17:58:45 +0000 (17:58 +0000)
SVN-Revision: 20488

target/linux/generic-2.4/patches/629-netlink_types_h.patch [new file with mode: 0644]

diff --git a/target/linux/generic-2.4/patches/629-netlink_types_h.patch b/target/linux/generic-2.4/patches/629-netlink_types_h.patch
new file mode 100644 (file)
index 0000000..8347d17
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/include/linux/netlink.h
++++ b/include/linux/netlink.h
+@@ -1,6 +1,8 @@
+ #ifndef __LINUX_NETLINK_H
+ #define __LINUX_NETLINK_H
++#include <linux/types.h>
++
+ #define NETLINK_ROUTE         0       /* Routing/device hook                          */
+ #define NETLINK_SKIP          1       /* Reserved for ENskip                          */
+ #define NETLINK_USERSOCK      2       /* Reserved for user mode socket protocols      */