build: allow building on freebsd

This commit is contained in:
CJ van den Berg 2024-06-13 12:08:51 +02:00 committed by Tim Culverhouse
parent f230f0c30a
commit 790dbaae24

View file

@ -43,6 +43,7 @@ pub fn init() !Posix {
.mask = switch (builtin.os.tag) {
.macos => 0,
.linux => posix.empty_sigset,
.freebsd => posix.empty_sigset,
else => @compileError("os not supported"),
},
.flags = 0,