fix build on OpenBSD after f7903092
write(), close(), setsid(), getuid() & geteuid() require unistd.h inclusion WEXITSTATUS & WIFEXITED require sys/wait.h
write(), close(), setsid(), getuid() & geteuid() require unistd.h inclusion WEXITSTATUS & WIFEXITED require sys/wait.h