diff options
author | Satyam Sharma <satyam.sharma@gmail.com> | 2007-06-22 20:04:27 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-06-22 20:04:27 -0400 |
commit | 8bfe6d68391af6171df789124fc3dfefeb392d9c (patch) | |
tree | 33167c7ffb15633d564d6012f7a586320841adc8 /include | |
parent | 6d5b78cdd5a17665674429400b3ed10e3ec60684 (diff) |
[IPV4]: include sysctl.h from inetdevice.h
When CONFIG_INET=y and CONFIG_SYSCTL=n:
In file included from net/core/netpoll.c:16:
include/linux/inetdevice.h:15: error:
'__NET_IPV4_CONF_MAX' undeclared here (not in a function)
make[2]: *** [net/core/netpoll.o] Error 1
make[1]: *** [net/core] Error 2
make: *** [net] Error 2
So #include sysctl.h from inetdevice.h.
Signed-off-by: Satyam Sharma <satyam.sharma@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/inetdevice.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/inetdevice.h b/include/linux/inetdevice.h index ae04901aa09a..d83fee2dc643 100644 --- a/include/linux/inetdevice.h +++ b/include/linux/inetdevice.h | |||
@@ -8,6 +8,7 @@ | |||
8 | #include <linux/netdevice.h> | 8 | #include <linux/netdevice.h> |
9 | #include <linux/rcupdate.h> | 9 | #include <linux/rcupdate.h> |
10 | #include <linux/timer.h> | 10 | #include <linux/timer.h> |
11 | #include <linux/sysctl.h> | ||
11 | 12 | ||
12 | struct ipv4_devconf | 13 | struct ipv4_devconf |
13 | { | 14 | { |