Include linux/idr.h and linux/skbuff.h since they are required by objects that
are declared in the net structure.

 struct net {
        ...
        struct idr              netns_ids;
        ...
        struct sk_buff_head     wext_nlevents;
        ...

Signed-off-by: Pablo Neira Ayuso <pa...@netfilter.org>
Signed-off-by: Eric W. Biederman <ebied...@xmission.com>
---
 include/net/net_namespace.h |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h
index 72eb237..e951453 100644
--- a/include/net/net_namespace.h
+++ b/include/net/net_namespace.h
@@ -28,6 +28,8 @@
 #include <net/netns/xfrm.h>
 #include <net/netns/mpls.h>
 #include <linux/ns_common.h>
+#include <linux/idr.h>
+#include <linux/skbuff.h>
 
 struct user_namespace;
 struct proc_dir_entry;
-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe netdev" in

Reply via email to