diff options
author | Charlie Root <root@dec05eba.my.domain> | 2018-09-30 23:44:13 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-06 07:39:33 +0200 |
commit | 0b09e97d0d6163b5a898f5642505ee12dd5ef30e (patch) | |
tree | 6464ce5279090cf99aa957aaca1faf68c50db095 /src/Exec.cpp | |
parent | 147188af8356d21fb9720308ef4912e1f3a22a15 (diff) |
Add OpenBSD support
Diffstat (limited to 'src/Exec.cpp')
-rw-r--r-- | src/Exec.cpp | 4 |
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; |