From d98b6f24341d954bae05ce2a8c012edf207f11ee Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Thu, 1 Oct 2015 00:36:43 +0200 Subject: Only include if HAVE_SPAWN_H This fixes building on platforms such as Android which lacks . Signed-off-by: David Adam --- src/exec.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/exec.cpp') 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 #include #include +#ifdef HAVE_SPAWN_H #include +#endif #include #include #include -- cgit v1.2.3