mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-09 13:01:38 -07:00
Merge pull request #1844 from Ronaldr1985/fix-odin-on-openbsd
Added missing #includes on OpenBSD
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
set -eu
|
||||
|
||||
GIT_SHA=$(git rev-parse --short HEAD)
|
||||
|
||||
@@ -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__)
|
||||
|
||||
Reference in New Issue
Block a user