summaryrefslogtreecommitdiff
path: root/udev.h
diff options
context:
space:
mode:
Diffstat (limited to 'udev.h')
-rw-r--r--udev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev.h b/udev.h
index 108623e059..9e01e40492 100644
--- 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 */