diff options
Diffstat (limited to 'net/sysctl_net.c')
-rw-r--r-- | net/sysctl_net.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/net/sysctl_net.c b/net/sysctl_net.c index 3f6e31069c54..c5241fcbb966 100644 --- a/net/sysctl_net.c +++ b/net/sysctl_net.c | |||
@@ -17,17 +17,15 @@ | |||
17 | #include <linux/sysctl.h> | 17 | #include <linux/sysctl.h> |
18 | 18 | ||
19 | #ifdef CONFIG_INET | 19 | #ifdef CONFIG_INET |
20 | extern struct ctl_table ipv4_table[]; | 20 | #include <net/ip.h> |
21 | #endif | 21 | #endif |
22 | 22 | ||
23 | extern struct ctl_table core_table[]; | ||
24 | |||
25 | #ifdef CONFIG_NET | 23 | #ifdef CONFIG_NET |
26 | extern struct ctl_table ether_table[]; | 24 | #include <linux/if_ether.h> |
27 | #endif | 25 | #endif |
28 | 26 | ||
29 | #ifdef CONFIG_TR | 27 | #ifdef CONFIG_TR |
30 | extern struct ctl_table tr_table[]; | 28 | #include <linux/if_tr.h> |
31 | #endif | 29 | #endif |
32 | 30 | ||
33 | struct ctl_table net_table[] = { | 31 | struct ctl_table net_table[] = { |