From 8bfe6d68391af6171df789124fc3dfefeb392d9c Mon Sep 17 00:00:00 2001 From: Satyam Sharma Date: Fri, 22 Jun 2007 17:04:27 -0700 Subject: [PATCH] [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 Signed-off-by: David S. Miller --- include/linux/inetdevice.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/inetdevice.h b/include/linux/inetdevice.h index ae04901aa0..d83fee2dc6 100644 --- a/include/linux/inetdevice.h +++ b/include/linux/inetdevice.h @@ -8,6 +8,7 @@ #include #include #include +#include struct ipv4_devconf { -- 2.39.5