chiark / gitweb /
updated gentoo rule file to handle removable ide devices.
[elogind.git] / udevd.c
diff --git a/udevd.c b/udevd.c
index 110d8e7c4d3a3fe90f547f76e252dbba63f0a0e8..fa14c56073cfd042c7912861cc08d7bdd9c3670e 100644 (file)
--- a/udevd.c
+++ b/udevd.c
@@ -38,6 +38,7 @@
 #include <sys/un.h>
 #include <sys/sysinfo.h>
 #include <sys/stat.h>
+#include <linux/types.h>
 #include <linux/netlink.h>
 
 #include "list.h"
 #include "udevd.h"
 #include "logging.h"
 
-#ifndef NETLINK_KOBJECT_UEVENT
-#define NETLINK_KOBJECT_UEVENT 15
-#endif
-
 /* global variables*/
 static int udevd_sock;
 static int uevent_netlink_sock;