[kernel] add missing linux/types.h header in netlink.h
[openwrt/svn-archive/archive.git] / target / linux / generic-2.4 / patches / 629-netlink_types_h.patch
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      */