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-Tag: v2.6.26-rc1~1138^2~301 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2d38f9a4f8d2ebdc799f03eecf82345825495711;p=platform%2Fkernel%2Flinux-3.10.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 5a402e2..0d56dad 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;