Merge pull request #1844 from Ronaldr1985/fix-odin-on-openbsd

Added missing #includes on OpenBSD
This commit is contained in:
gingerBill
2022-07-24 22:28:25 +01:00
committed by GitHub
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -eu
GIT_SHA=$(git rev-parse --short HEAD)
+4
View File
@@ -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__)