mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 12:21:19 -03:00
Only include <spawn.h> if HAVE_SPAWN_H
This fixes building on platforms such as Android which lacks <spawn.h>. Signed-off-by: David Adam <zanchey@ucc.gu.uwa.edu.au>
This commit is contained in:
committed by
David Adam
parent
3ffbf9a7ea
commit
d98b6f2434
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user