[PATCH] stop using mode_t as different libcs define it in different ways :(
This commit is contained in:
parent
3a8c51a771
commit
d45ea2b70c
|
@ -74,7 +74,7 @@ struct perm_device {
|
||||||
char name[NAME_SIZE];
|
char name[NAME_SIZE];
|
||||||
char owner[OWNER_SIZE];
|
char owner[OWNER_SIZE];
|
||||||
char group[GROUP_SIZE];
|
char group[GROUP_SIZE];
|
||||||
mode_t mode;
|
unsigned int mode;
|
||||||
};
|
};
|
||||||
|
|
||||||
extern struct list_head config_device_list;
|
extern struct list_head config_device_list;
|
||||||
|
|
2
udev.h
2
udev.h
|
@ -40,7 +40,7 @@ struct udevice {
|
||||||
char type;
|
char type;
|
||||||
int major;
|
int major;
|
||||||
int minor;
|
int minor;
|
||||||
mode_t mode;
|
unsigned int mode; /* not mode_t due to conflicting definitions in different libcs */
|
||||||
char symlink[NAME_SIZE];
|
char symlink[NAME_SIZE];
|
||||||
|
|
||||||
/* fields that help us in building strings */
|
/* fields that help us in building strings */
|
||||||
|
|
Loading…
Reference in a new issue