aboutsummaryrefslogtreecommitdiff
path: root/src/Exec.cpp
diff options
context:
space:
mode:
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;