aboutsummaryrefslogtreecommitdiff
path: root/src/Exec.cpp
diff options
context:
space:
mode:
authorCharlie Root <root@dec05eba.my.domain>2018-09-30 23:44:13 +0200
committerdec05eba <dec05eba@protonmail.com>2020-07-06 07:39:33 +0200
commit0b09e97d0d6163b5a898f5642505ee12dd5ef30e (patch)
tree6464ce5279090cf99aa957aaca1faf68c50db095 /src/Exec.cpp
parent147188af8356d21fb9720308ef4912e1f3a22a15 (diff)
Add OpenBSD support
Diffstat (limited to 'src/Exec.cpp')
-rw-r--r--src/Exec.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Exec.cpp b/src/Exec.cpp
index a183ed2..cfeb19d 100644
--- a/src/Exec.cpp
+++ b/src/Exec.cpp
@@ -1,6 +1,10 @@
#include "../include/Exec.hpp"
#include "../include/env.hpp"
+#if OS_FAMILY == OS_FAMILY_POSIX
+#include <sys/wait.h>
+#endif
+
using namespace std;
const int BUFSIZE = 1024;