std.posix: add some more void bits

prevents unnecessary compilation errors on wasm32-freestanding
This commit is contained in:
Andrew Kelley 2024-08-04 15:24:54 -07:00
parent 517cfb0dd1
commit d36c182748

View File

@ -47,6 +47,11 @@ else switch (native_os) {
.plan9 => std.os.plan9,
else => struct {
pub const ucontext_t = void;
pub const pid_t = void;
pub const pollfd = void;
pub const fd_t = void;
pub const uid_t = void;
pub const gid_t = void;
},
};