chiark / gitweb /
[PATCH] fix problem where usb devices can be either the main device or the interface
[elogind.git] / udev.h
diff --git a/udev.h b/udev.h
index 108623e0597eca6515689bc60c0ef1ce47e987ac..9e01e40492ea8c75cc8bb5958120ea00a8a2ee44 100644 (file)
--- a/udev.h
+++ b/udev.h
@@ -40,7 +40,7 @@ struct udevice {
        char type;
        int major;
        int minor;
-       mode_t mode;
+       unsigned int mode;      /* not mode_t due to conflicting definitions in different libcs */
        char symlink[NAME_SIZE];
 
        /* fields that help us in building strings */