projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
memaslap: fix global/period rate
[awesomized/libmemcached]
/
test
/
lib
/
Connection.cpp
diff --git
a/test/lib/Connection.cpp
b/test/lib/Connection.cpp
index 0530d38bf7a88525012e58c6cf8ca6e90ff90cec..806ce502e4f36889ee51c4aa9954c07328da1621 100644
(file)
--- a/
test/lib/Connection.cpp
+++ b/
test/lib/Connection.cpp
@@
-2,7
+2,9
@@
#include <cerrno>
#include <sys/poll.h>
-#include <unistd.h>
+#if HAVE_UNISTD_H
+# include <unistd.h>
+#endif
#if !(HAVE_SOCK_NONBLOCK && HAVE_SOCK_CLOEXEC)
# include <fcntl.h>