commit bdbd060cc7a150ff2dfe367f3eb08eff6ab319fd (tree)
parent ef6fbbdab623f8eb6615eb3fb3e42141e5711331
Author: Koakuma <koachan@protonmail.com>
Date: Fri, 3 Sep 2021 20:29:39 +0700
Linux/sparc64 bits: Add missing C type definitions
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git 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 {