projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
ci: gh-actions: condense
[awesomized/libmemcached]
/
example
/
interface_v1.cc
diff --git
a/example/interface_v1.cc
b/example/interface_v1.cc
index 61dd929d0f3f96280d16acd1a748e06703bd18fa..e0a38355971c2aa756b88b7cf044edba814407c3 100644
(file)
--- a/
example/interface_v1.cc
+++ b/
example/interface_v1.cc
@@
-17,9
+17,10
@@
#include <cstring>
#include <fcntl.h>
#include <sys/types.h>
#include <cstring>
#include <fcntl.h>
#include <sys/types.h>
-#include <unistd.h>
-
-#include <libmemcachedprotocol-0.0/handler.h>
+#if HAVE_UNISTD_H
+# include <unistd.h>
+#endif
+#include <libmemcachedprotocol-0/handler.h>
#include <example/byteorder.h>
#include "example/memcached_light.h"
#include "example/storage.h"
#include <example/byteorder.h>
#include "example/memcached_light.h"
#include "example/storage.h"