projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e5f8be
)
[NETNS]: Do no include NET related headers if CONFIG_NET is not set.
author
Denis V. Lunev
<
[email protected]
>
Thu, 27 Mar 2008 21:26:30 +0000
(14:26 -0700)
committer
David S. Miller
<
[email protected]
>
Thu, 27 Mar 2008 21:26:30 +0000
(14:26 -0700)
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 <
[email protected]
>
Acked-by: YOSHIFUJI Hideaki <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
lib/kobject_uevent.c
patch
|
blob
|
history
diff --git
a/lib/kobject_uevent.c
b/lib/kobject_uevent.c
index 5a402e2982afb4a1a82a28092260bb66bd921269..0d56dad319ad33b8354c1396866158a6a0de4c91 100644
(file)
--- a/
lib/kobject_uevent.c
+++ b/
lib/kobject_uevent.c
@@
-15,12
+15,16
@@
*/
#include <linux/spinlock.h>
+#include <linux/string.h>
+#include <linux/kobject.h>
+#include <linux/module.h>
+
+#ifdef CONFIG_NET
#include <linux/socket.h>
#include <linux/skbuff.h>
#include <linux/netlink.h>
-#include <linux/string.h>
-#include <linux/kobject.h>
#include <net/sock.h>
+#endif
u64 uevent_seqnum;