WIP
[m6w6/libmemcached] / example / memcached_light.cc
index c5385d75950e60714e7e12ca2c02e3aa474ea495..714bb16f3dedafb216c753a81cb870f9b074df6e 100644 (file)
@@ -48,8 +48,9 @@ using namespace datadifferential;
 #include <getopt.h>
 #include <iostream>
 #include <sys/types.h>
-#include <unistd.h>
-
+#if HAVE_UNISTD_H
+#  include <unistd.h>
+#endif
 extern memcached_binary_protocol_callback_st interface_v0_impl;
 extern memcached_binary_protocol_callback_st interface_v1_impl;