diff --git a/lib/std/c.zig b/lib/std/c.zig index 4b3bae61d1..2a47628306 100644 --- a/lib/std/c.zig +++ b/lib/std/c.zig @@ -177,7 +177,7 @@ pub const passwd = switch (native_os) { dir: ?[*:0]const u8, // home directory shell: ?[*:0]const u8, // shell program }, - .openbsd => extern struct { + .netbsd, .openbsd, .macos => extern struct { name: ?[*:0]const u8, // user name passwd: ?[*:0]const u8, // encrypted password uid: uid_t, // user uid