aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gb/gb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gb/gb.h b/src/gb/gb.h
index 48d3c9aec..d09c7618b 100644
--- a/src/gb/gb.h
+++ b/src/gb/gb.h
@@ -90,6 +90,10 @@ extern "C" {
#error This operating system is not supported
#endif
+#if defined(GB_SYSTEM_OPENBSD)
+#include <sys/wait.h>
+#endif
+
#if defined(_MSC_VER)
#define GB_COMPILER_MSVC 1
#elif defined(__GNUC__)