semver: 1.0 -> 1
[m6w6/libmemcached] / example / memcached_light.cc
index c5385d75950e60714e7e12ca2c02e3aa474ea495..c76a42c24630dd40c46d317038b8d4461310b19e 100644 (file)
@@ -25,7 +25,7 @@
 
 #include <mem_config.h>
 
-#include <libmemcachedprotocol-0.0/handler.h>
+#include <libmemcachedprotocol-0/handler.h>
 #include <libmemcached/socket.hpp>
 #include <example/byteorder.h>
 #include "example/storage.h"
@@ -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;