WIP
[m6w6/libmemcached] / src / util / pidfile.cc
index 90a6d17818096a77a72ddf4a98b68e9130f3409a..dd26f25742f1b21e5af97f5b95028905d26358af 100644 (file)
@@ -48,7 +48,9 @@
 #include <sstream>
 #include <sys/stat.h>
 #include <sys/types.h>
-#include <unistd.h>
+#if #if HAVE_UNISTD_H
+#  include <unistd.h>
+#endif
 
 extern "C" {