WIP
[awesomized/libmemcached] / test / lib / ForkAndExec.cpp
index ac30dd0282195e4430019d61901bf9abd1078d0e..753e06ee88f680104886cc9cc1140f5e9324ef72 100644 (file)
@@ -4,7 +4,10 @@
 
 #include <fcntl.h>
 #include <sys/poll.h>
-#include <unistd.h>
+#if HAVE_UNISTD_H
+#  include <unistd.h>
+#endif
+#include <spawn.h>
 
 #if !HAVE_PIPE2
 static inline int setfl(int fd, int newflags) {