aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.4
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-03-26 17:58:45 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-03-26 17:58:45 +0000
commit05678c3b53ae235eacea624d60b969c25d08234b (patch)
treea336eafa1fe9c5661b3bcbc1141815c317d89d9d /target/linux/generic-2.4
parent6ae3fca076e5167247799b9a920406f2e21d8e43 (diff)
downloadmaster-187ad058-05678c3b53ae235eacea624d60b969c25d08234b.tar.gz
master-187ad058-05678c3b53ae235eacea624d60b969c25d08234b.tar.bz2
master-187ad058-05678c3b53ae235eacea624d60b969c25d08234b.zip
[kernel] add missing linux/types.h header in netlink.h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20488 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic-2.4')
-rw-r--r--target/linux/generic-2.4/patches/629-netlink_types_h.patch11
1 files changed, 11 insertions, 0 deletions
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
index 0000000000..8347d170b3
--- /dev/null
+++ b/target/linux/generic-2.4/patches/629-netlink_types_h.patch
@@ -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 */