diff options
| author | fn ⌃ ⌥ <70830482+FnControlOption@users.noreply.github.com> | 2024-08-25 14:45:03 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-08-31 20:56:27 -0700 |
| commit | 69e304bd510e3fed2d51582edc6f11127824d7e6 (patch) | |
| tree | 7a3841e28e04088efbb8f2a46cd7c7352619e8b9 /lib/std | |
| parent | 67fc44fc6f87b4a1b0fe8d4db2d4ac1327401409 (diff) | |
| download | zig-69e304bd510e3fed2d51582edc6f11127824d7e6.tar.gz zig-69e304bd510e3fed2d51582edc6f11127824d7e6.zip | |
std.c.passwd: support macOS and NetBSD
Diffstat (limited to 'lib/std')
| -rw-r--r-- | lib/std/c.zig | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
