diff --git a/lib/std/c.zig b/lib/std/c.zig index 7c26025ac9..a90860f6f5 100644 --- a/lib/std/c.zig +++ b/lib/std/c.zig @@ -3528,7 +3528,21 @@ pub const itimerspec = switch (native_os) { }; pub const msghdr = switch (native_os) { .linux => linux.msghdr, - .openbsd, .emscripten, .dragonfly, .freebsd, .netbsd, .haiku, .solaris, .illumos => extern struct { + .openbsd, + .emscripten, + .dragonfly, + .freebsd, + .netbsd, + .haiku, + .solaris, + .illumos, + .macos, + .driverkit, + .ios, + .tvos, + .visionos, + .watchos, + => extern struct { /// optional address name: ?*sockaddr, /// size of address @@ -3548,7 +3562,21 @@ pub const msghdr = switch (native_os) { }; pub const msghdr_const = switch (native_os) { .linux => linux.msghdr_const, - .openbsd, .emscripten, .dragonfly, .freebsd, .netbsd, .haiku, .solaris, .illumos => extern struct { + .openbsd, + .emscripten, + .dragonfly, + .freebsd, + .netbsd, + .haiku, + .solaris, + .illumos, + .macos, + .driverkit, + .ios, + .tvos, + .visionos, + .watchos, + => extern struct { /// optional address name: ?*const sockaddr, /// size of address