Fix dev_t type and add sys/sysmacros.h include from musl

This commit is contained in:
Jeremy Soller
2026-01-16 12:42:58 -07:00
parent 391baf41f2
commit 03c370d7f3
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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;
+1 -1
View File
@@ -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;