diff options
| author | Koakuma <koachan@protonmail.com> | 2021-09-03 20:29:39 +0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-09-23 13:57:55 -0400 |
| commit | bdbd060cc7a150ff2dfe367f3eb08eff6ab319fd (patch) | |
| tree | f2d3b4fca8d7a67914158748975bc15f9e8eec17 /lib/std/os/linux | |
| parent | ef6fbbdab623f8eb6615eb3fb3e42141e5711331 (diff) | |
| download | zig-bdbd060cc7a150ff2dfe367f3eb08eff6ab319fd.tar.gz zig-bdbd060cc7a150ff2dfe367f3eb08eff6ab319fd.zip | |
Linux/sparc64 bits: Add missing C type definitions
Diffstat (limited to 'lib/std/os/linux')
| -rw-r--r-- | lib/std/os/linux/sparc64.zig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/std/os/linux/sparc64.zig b/lib/std/os/linux/sparc64.zig index 3ae490f5e9..b1f96f144c 100644 --- a/lib/std/os/linux/sparc64.zig +++ b/lib/std/os/linux/sparc64.zig @@ -674,6 +674,10 @@ pub const msghdr_const = extern struct { pub const off_t = i64; pub const ino_t = u64; pub const mode_t = u32; +pub const dev_t = usize; +pub const nlink_t = u32; +pub const blksize_t = isize; +pub const blkcnt_t = isize; // The `stat64` definition used by the kernel. pub const Stat = extern struct { |
