const have_waitid = switch (native_os)
const have_waitid = switch (native_os) { .linux => @hasField(std.os.linux.SYS, "waitid"), else => false, }