Commit e00d4656 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

decomp: inclde spawn.h only if used

parent 6a7013a0
...@@ -31,7 +31,9 @@ ...@@ -31,7 +31,9 @@
# define _POSIX_SPAWN (-1) # define _POSIX_SPAWN (-1)
#endif #endif
#include <fcntl.h> #include <fcntl.h>
#include <spawn.h> #if (_POSIX_SPAWN >= 0)
# include <spawn.h>
#endif
#include <sys/wait.h> #include <sys/wait.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#if defined (__linux__) && defined (HAVE_VMSPLICE) #if defined (__linux__) && defined (HAVE_VMSPLICE)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment