From: Shan Wei Date: Wed, 18 Apr 2012 18:05:46 +0000 (+0000) Subject: net: fix compile error of leaking kmemleak.h header X-Git-Tag: v3.12-rc1~3113^2~397 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7426a5645f3d18daec1f7d6a24b529ec7286b800;p=kernel%2Fkernel-generic.git net: fix compile error of leaking kmemleak.h header 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