projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
p9y: fix includes
[m6w6/libmemcached]
/
test
/
lib
/
ForkAndExec.cpp
diff --git
a/test/lib/ForkAndExec.cpp
b/test/lib/ForkAndExec.cpp
index e182c7c47dcf55c11f493c71ccc207c220054a0b..be994fc680efa82e7ed9a632f9ab969b5826b62c 100644
(file)
--- a/
test/lib/ForkAndExec.cpp
+++ b/
test/lib/ForkAndExec.cpp
@@
-1,11
+1,12
@@
#include "ForkAndExec.hpp"
#include "ForkAndExec.hpp"
+#include "p9y/poll.hpp"
-#include <cerrno>
#include <cstdio>
#include <cstdio>
-
#include <fcntl.h>
#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) {
#if !HAVE_PIPE2
static inline int setfl(int fd, int newflags) {