Commit d36c182748

Andrew Kelley <andrew@ziglang.org>
2024-08-05 00:24:54
std.posix: add some more void bits
prevents unnecessary compilation errors on wasm32-freestanding
1 parent 517cfb0
Changed files (1)
lib
lib/std/posix.zig
@@ -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;
     },
 };