Fix OpenBSD compile.

This commit is contained in:
2024-07-14 16:59:23 -04:00
parent d5d5a7b012
commit a46bb8183c
3 changed files with 5 additions and 1 deletions

View File

@ -16,6 +16,10 @@
#include <time.h>
#include <unistd.h>
#if !defined(_WIN32)
#include <sys/wait.h>
#endif
#if defined(_WIN32)
#define WIFEXITED(x) 1
#define WEXITSTATUS(x) (x)