freebsd: fix issues with syscalls
freebsd: fix issues with syscalls

andrewrk/zig,zig-lang/zig,raulgrell/zig,zig-lang/zig,zig-lang/zig,andrewrk/zig,raulgrell/zig,raulgrell/zig,raulgrell/zig,raulgrell/zig