std.posix: add some more void bits

prevents unnecessary compilation errors on wasm32-freestanding
This commit is contained in:
Andrew Kelley committed 2024-08-07 00:48:32 -07:00
1 parent 517cfb0dd1
commit d36c182748
1 file changed
+5
+5
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;
},
};