aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/exec.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/exec.cpp')
-rw-r--r--src/exec.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/exec.cpp b/src/exec.cpp
index e4ae5104..63186ef7 100644
--- a/src/exec.cpp
+++ b/src/exec.cpp
@@ -18,7 +18,9 @@
#include <assert.h>
#include <vector>
#include <algorithm>
+#ifdef HAVE_SPAWN_H
#include <spawn.h>
+#endif
#include <wctype.h>
#include <map>
#include <string>