diff options
Diffstat (limited to 'include/net/net_namespace.h')
-rw-r--r-- | include/net/net_namespace.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h index 6c9a48a46685..0ab62ed2fdef 100644 --- a/include/net/net_namespace.h +++ b/include/net/net_namespace.h | |||
@@ -60,11 +60,12 @@ struct net { | |||
60 | }; | 60 | }; |
61 | 61 | ||
62 | 62 | ||
63 | #ifdef CONFIG_NET | ||
64 | #include <linux/seq_file_net.h> | 63 | #include <linux/seq_file_net.h> |
65 | 64 | ||
66 | /* Init's network namespace */ | 65 | /* Init's network namespace */ |
67 | extern struct net init_net; | 66 | extern struct net init_net; |
67 | |||
68 | #ifdef CONFIG_NET | ||
68 | #define INIT_NET_NS(net_ns) .net_ns = &init_net, | 69 | #define INIT_NET_NS(net_ns) .net_ns = &init_net, |
69 | 70 | ||
70 | extern struct net *copy_net_ns(unsigned long flags, struct net *net_ns); | 71 | extern struct net *copy_net_ns(unsigned long flags, struct net *net_ns); |