consolidate
[awesomized/libmemcached] / example / memcached_light.cc
index 3f14c8ee17d2b1d6d5d7b2ca18e2701459d3bc66..c76a42c24630dd40c46d317038b8d4461310b19e 100644 (file)
@@ -23,9 +23,9 @@
  * the library)
  */
 
-#include <config.h>
+#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;