| ... | @@ -512,10 +512,11 @@ pub const msghdr_const = extern struct { | ... | @@ -512,10 +512,11 @@ pub const msghdr_const = extern struct { |
| 512 | | 512 | |
| 513 | pub const off_t = i64; | 513 | pub const off_t = i64; |
| 514 | pub const ino_t = u64; | 514 | pub const ino_t = u64; |
| | 515 | pub const dev_t = u64; |
| 515 | | 516 | |
| 516 | // The `stat` definition used by the Linux kernel. | 517 | // The `stat` definition used by the Linux kernel. |
| 517 | pub const kernel_stat = extern struct { | 518 | pub const kernel_stat = extern struct { |
| 518 | dev: u64, | 519 | dev: dev_t, |
| 519 | ino: ino_t, | 520 | ino: ino_t, |
| 520 | nlink: usize, | 521 | nlink: usize, |
| 521 | | 522 | |
| ... | @@ -523,7 +524,7 @@ pub const kernel_stat = extern struct { | ... | @@ -523,7 +524,7 @@ pub const kernel_stat = extern struct { |
| 523 | uid: uid_t, | 524 | uid: uid_t, |
| 524 | gid: gid_t, | 525 | gid: gid_t, |
| 525 | __pad0: u32, | 526 | __pad0: u32, |
| 526 | rdev: u64, | 527 | rdev: dev_t, |
| 527 | size: off_t, | 528 | size: off_t, |
| 528 | blksize: isize, | 529 | blksize: isize, |
| 529 | blocks: i64, | 530 | blocks: i64, |