mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-19 19:15:40 +08: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:
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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user