1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-23 21:35:11 +03:00

[PATCH] stop using mode_t as different libcs define it in different ways :(

This commit is contained in:
greg@kroah.com 2004-02-12 01:29:40 -08:00 committed by Greg KH
parent 3a8c51a771
commit d45ea2b70c
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ struct perm_device {
char name[NAME_SIZE];
char owner[OWNER_SIZE];
char group[GROUP_SIZE];
mode_t mode;
unsigned int mode;
};
extern struct list_head config_device_list;

2
udev.h
View File

@ -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 */