projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
ci: sr.ht alpine
[awesomized/libmemcached]
/
example
/
memcached_light.cc
diff --git
a/example/memcached_light.cc
b/example/memcached_light.cc
index 3f14c8ee17d2b1d6d5d7b2ca18e2701459d3bc66..c76a42c24630dd40c46d317038b8d4461310b19e 100644
(file)
--- a/
example/memcached_light.cc
+++ b/
example/memcached_light.cc
@@
-23,9
+23,9
@@
* the library)
*/
* 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"
#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 <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;
extern memcached_binary_protocol_callback_st interface_v0_impl;
extern memcached_binary_protocol_callback_st interface_v1_impl;