chiark / gitweb /
[PATCH] update udev.rules.gentoo with new config file format.
[elogind.git] / udev.h
diff --git a/udev.h b/udev.h
index e615b4c8bb9e6a88b78d1e1ac72686ae349e3b73..b5088b90c69e136d84e6ecd23dc165829e211e5c 100644 (file)
--- a/udev.h
+++ b/udev.h
@@ -23,7 +23,7 @@
 #ifndef UDEV_H
 #define UDEV_H
 
-#include "libsysfs/libsysfs.h"
+#include <sysfs/libsysfs.h>
 #include <stddef.h>
 #include <sys/param.h>
 
@@ -46,6 +46,7 @@ struct udevice {
        int minor;
        unsigned int mode;      /* not mode_t due to conflicting definitions in different libcs */
        char symlink[NAME_SIZE];
+       int partitions;
 
        /* private data that help us in building strings */
        char bus_id[SYSFS_NAME_LEN];
@@ -77,5 +78,6 @@ extern char default_mode_str[MODE_SIZE];
 extern char default_owner_str[OWNER_SIZE];
 extern char default_group_str[GROUP_SIZE];
 extern int udev_log;
+extern int udev_sleep;
 
 #endif