projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
fix for 32-bit
[awesomized/libmemcached]
/
test
/
lib
/
ForkAndExec.cpp
diff --git
a/test/lib/ForkAndExec.cpp
b/test/lib/ForkAndExec.cpp
index 5af789f65caa57b725d7c19146c44f64a94bebb7..be994fc680efa82e7ed9a632f9ab969b5826b62c 100644
(file)
--- a/
test/lib/ForkAndExec.cpp
+++ b/
test/lib/ForkAndExec.cpp
@@
-1,10
+1,11
@@
#include "ForkAndExec.hpp"
+#include "p9y/poll.hpp"
#include <cstdio>
-
#include <fcntl.h>
-#include <sys/poll.h>
-#include <unistd.h>
+#if HAVE_UNISTD_H
+# include <unistd.h>
+#endif
#include <spawn.h>
#if !HAVE_PIPE2