]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - lib/kobject_uevent.c
[NETNS]: Do no include NET related headers if CONFIG_NET is not set.
[mirror_ubuntu-artful-kernel.git] / lib / kobject_uevent.c
index 5a402e2982afb4a1a82a28092260bb66bd921269..0d56dad319ad33b8354c1396866158a6a0de4c91 100644 (file)
  */
 
 #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;