diff options
Diffstat (limited to 'src/postfork.cpp')
-rw-r--r-- | src/postfork.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/postfork.cpp b/src/postfork.cpp index 40a0bffb..f2851eb0 100644 --- a/src/postfork.cpp +++ b/src/postfork.cpp @@ -9,14 +9,19 @@ #include <stdio.h> #include <string.h> #include <time.h> -#include <memory> // IWYU pragma: keep - suggests <tr1/memory> instead +#include <memory> +#if FISH_USE_POSIX_SPAWN +#include <spawn.h> +#endif + #include "common.h" #include "proc.h" -#include "wutil.h" +#include "wutil.h" // IWYU pragma: keep #include "signal.h" #include "postfork.h" #include "iothread.h" #include "exec.h" +#include "io.h" #ifndef JOIN_THREADS_BEFORE_FORK #define JOIN_THREADS_BEFORE_FORK 0 |