prepare v1.1.4
[awesomized/libmemcached] / example / memcached_light.cc
index 3f14c8ee17d2b1d6d5d7b2ca18e2701459d3bc66..714bb16f3dedafb216c753a81cb870f9b074df6e 100644 (file)
@@ -23,7 +23,7 @@
  * the library)
  */
 
-#include <config.h>
+#include <mem_config.h>
 
 #include <libmemcachedprotocol-0.0/handler.h>
 #include <libmemcached/socket.hpp>
@@ -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;