aboutsummaryrefslogtreecommitdiff
path: root/src/common.cpp
diff options
context:
space:
mode:
authorRonald1985 <ronald1985@protonmail.com>2022-06-14 09:55:06 +0100
committerRonald1985 <ronald1985@protonmail.com>2022-06-14 09:55:06 +0100
commit89222a0ab22bbe8067111405caf4f2b703f44732 (patch)
tree612bb55efa12ac0da53674a74aab156084cccf95 /src/common.cpp
parent21e637d2b309095a3d098c905b99c851c08af13a (diff)
Added missing #includes on OpenBSD
Diffstat (limited to 'src/common.cpp')
-rw-r--r--src/common.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common.cpp b/src/common.cpp
index 77caddfe8..2f7ab7916 100644
--- a/src/common.cpp
+++ b/src/common.cpp
@@ -25,6 +25,11 @@
#include <psapi.h>
#endif
+#if defined(GB_SYSTEM_OPENBSD)
+#include <sys/resource.h>
+#include <sys/wait.h>
+#endif
+
#include <math.h>
#include <string.h>
#include <atomic> // Because I wanted the C++11 memory order semantics, of which gb.h does not offer (because it was a C89 library)