commit 486ed907f7cf3034e8f9ca1d2c445beec8b2df16 (tree)
parent 70e19ea3533528b90b4548e162e334f5a8392e64
Author: Michael Dusan <michael.dusan@gmail.com>
Date: Fri, 19 Dec 2025 22:09:34 -0500
dragonfly: define std.c.nlink_t
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/std/c.zig b/lib/std/c.zig
@@ -161,7 +161,7 @@ pub const nlink_t = switch (native_os) {
.wasi => c_ulonglong,
// https://github.com/SerenityOS/serenity/blob/b98f537f117b341788023ab82e0c11ca9ae29a57/Kernel/API/POSIX/sys/types.h#L45
.freebsd, .serenity => u64,
- .openbsd, .netbsd, .illumos => u32,
+ .openbsd, .netbsd, .dragonfly, .illumos => u32,
.haiku => i32,
.driverkit, .ios, .maccatalyst, .macos, .tvos, .visionos, .watchos => u16,
else => u0,