diff --git a/src/nvim/os/job.c b/src/nvim/os/job.c index 8fe44c7a53..038d0e3c26 100644 --- a/src/nvim/os/job.c +++ b/src/nvim/os/job.c @@ -1,8 +1,6 @@ #include #include -#include - #include #include "nvim/os/uv_helpers.h" @@ -20,6 +18,10 @@ #include "nvim/vim.h" #include "nvim/memory.h" +#ifdef HAVE_SYS_WAIT_H +# include +#endif + // {SIGNAL}_TIMEOUT is the time (in nanoseconds) that a job has to cleanly exit // before we send SIGNAL to it #define TERM_TIMEOUT 1000000000