Fix dev_t type and add sys/sysmacros.h include from musl
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
#include <stddef.h>
|
||||
|
||||
typedef long blksize_t;
|
||||
typedef long dev_t;
|
||||
typedef unsigned long ino_t;
|
||||
typedef unsigned long long dev_t;
|
||||
typedef unsigned long long ino_t;
|
||||
typedef unsigned short reclen_t;
|
||||
typedef int gid_t;
|
||||
typedef int uid_t;
|
||||
|
||||
@@ -63,7 +63,7 @@ pub type pid_t = c_int;
|
||||
pub type id_t = c_uint;
|
||||
pub type gid_t = c_int;
|
||||
pub type uid_t = c_int;
|
||||
pub type dev_t = c_long;
|
||||
pub type dev_t = c_ulonglong;
|
||||
pub type ino_t = c_ulonglong;
|
||||
pub type reclen_t = c_ushort;
|
||||
pub type nlink_t = c_ulong;
|
||||
|
||||
Reference in New Issue
Block a user