WIP
[m6w6/libmemcached] / test / lib / Connection.cpp
index 0530d38bf7a88525012e58c6cf8ca6e90ff90cec..806ce502e4f36889ee51c4aa9954c07328da1621 100644 (file)
@@ -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>