diff options
Diffstat (limited to 'lib/kobject_uevent.c')
-rw-r--r-- | lib/kobject_uevent.c | 8 |
1 files changed, 6 insertions, 2 deletions
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 @@ | |||
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include <linux/spinlock.h> | 17 | #include <linux/spinlock.h> |
18 | #include <linux/string.h> | ||
19 | #include <linux/kobject.h> | ||
20 | #include <linux/module.h> | ||
21 | |||
22 | #ifdef CONFIG_NET | ||
18 | #include <linux/socket.h> | 23 | #include <linux/socket.h> |
19 | #include <linux/skbuff.h> | 24 | #include <linux/skbuff.h> |
20 | #include <linux/netlink.h> | 25 | #include <linux/netlink.h> |
21 | #include <linux/string.h> | ||
22 | #include <linux/kobject.h> | ||
23 | #include <net/sock.h> | 26 | #include <net/sock.h> |
27 | #endif | ||
24 | 28 | ||
25 | 29 | ||
26 | u64 uevent_seqnum; | 30 | u64 uevent_seqnum; |