WIP
[m6w6/libmemcached] / test / lib / Server.cpp
index dddb68d9f733ceecf98da9ae9f3e5bca83bce323..cf520094029949cb94b0ac7d9d61087858370f04 100644 (file)
@@ -3,7 +3,9 @@
 #include "ForkAndExec.hpp"
 
 #include <sys/wait.h>
-#include <unistd.h>
+#if HAVE_UNISTD_H
+#  include <unistd.h>
+#endif
 
 Server::Server(string binary_, Server::argv_t args_)
     : binary{move(binary_)}