]> err.no Git - linux-2.6/commitdiff
[IPV4]: include sysctl.h from inetdevice.h
authorSatyam Sharma <satyam.sharma@gmail.com>
Sat, 23 Jun 2007 00:04:27 +0000 (17:04 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 23 Jun 2007 00:04:27 +0000 (17:04 -0700)
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>
include/linux/inetdevice.h

index ae04901aa09a838bef2a20674848f7cb5c72e5fe..d83fee2dc643603eca731cfb8e74df4a1a5d7284 100644 (file)
@@ -8,6 +8,7 @@
 #include <linux/netdevice.h>
 #include <linux/rcupdate.h>
 #include <linux/timer.h>
+#include <linux/sysctl.h>
 
 struct ipv4_devconf
 {