#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"
#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;