From: Denis V. Lunev Date: Thu, 27 Mar 2008 21:26:30 +0000 (-0700) Subject: [NETNS]: Do no include NET related headers if CONFIG_NET is not set. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2d38f9a4f8d2ebdc799f03eecf82345825495711;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git [NETNS]: Do no include NET related headers if CONFIG_NET is not set. This fix broken compilation for 'allnoconfig'. This was introduced by Introduced by commit 1218854afa6f659be90b748cf1bc7badee954a35 ("[NET] NETNS: Omit seq_net_private->net without CONFIG_NET_NS.") Signed-off-by: Denis V. Lunev Acked-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller --- diff --git a/lib/kobject_uevent.c b/lib/kobject_uevent.c index 5a402e2982af..0d56dad319ad 100644 --- a/lib/kobject_uevent.c +++ b/lib/kobject_uevent.c @@ -15,12 +15,16 @@ */ #include +#include +#include +#include + +#ifdef CONFIG_NET #include #include #include -#include -#include #include +#endif u64 uevent_seqnum;