projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
fix segfault: dtrace build on solaris
[awesomized/libmemcached]
/
test
/
lib
/
ForkAndExec.cpp
diff --git
a/test/lib/ForkAndExec.cpp
b/test/lib/ForkAndExec.cpp
index ac30dd0282195e4430019d61901bf9abd1078d0e..753e06ee88f680104886cc9cc1140f5e9324ef72 100644
(file)
--- a/
test/lib/ForkAndExec.cpp
+++ b/
test/lib/ForkAndExec.cpp
@@
-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) {