aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.4/patches/629-netlink_types_h.patch
blob: 49803b76f99a0db0acc573e03fc3e92c4f595c3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- 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 	*/
--- a/include/linux/filter.h
+++ b/include/linux/filter.h
@@ -5,6 +5,8 @@
 #ifndef __LINUX_FILTER_H__
 #define __LINUX_FILTER_H__
 
+#include <linux/types.h>
+
 /*
  * Current version of the filter code architecture.
  */