From 7426a5645f3d18daec1f7d6a24b529ec7286b800 Mon Sep 17 00:00:00 2001 From: Shan Wei Date: Wed, 18 Apr 2012 18:05:46 +0000 Subject: net: fix compile error of leaking kmemleak.h header MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit net/core/sysctl_net_core.c: In function ‘sysctl_core_init’: net/core/sysctl_net_core.c:259: error: implicit declaration of function ‘kmemleak_not_leak’ with same error in net/ipv4/route.c Signed-off-by: Shan Wei Signed-off-by: David S. Miller diff --git a/net/core/sysctl_net_core.c b/net/core/sysctl_net_core.c index cee5991..247c69b 100644 --- a/net/core/sysctl_net_core.c +++ b/net/core/sysctl_net_core.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include diff --git a/net/ipv4/route.c b/net/ipv4/route.c index bcd4744..a1c115d 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c @@ -109,6 +109,7 @@ #include #ifdef CONFIG_SYSCTL #include +#include #endif #include -- cgit v0.10.2