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: clang+libc++ cannot find headers
[awesomized/libmemcached]
/
example
/
interface_v0.cc
diff --git
a/example/interface_v0.cc
b/example/interface_v0.cc
index 64debddcf1a5af12e486b45effc4283dec5fbbb9..cf53dded75c22283b86c3772cfaac735063de42f 100644
(file)
--- a/
example/interface_v0.cc
+++ b/
example/interface_v0.cc
@@
-10,13
+10,15
@@
#include <cassert>
#include <sys/types.h>
#include <cstdio>
#include <cassert>
#include <sys/types.h>
#include <cstdio>
-#include <unistd.h>
+#if HAVE_UNISTD_H
+# include <unistd.h>
+#endif
#include <fcntl.h>
#include <cerrno>
#include <cstdlib>
#include <cstring>
#include <fcntl.h>
#include <cerrno>
#include <cstdlib>
#include <cstring>
-#include <libmemcachedprotocol-0
.0
/handler.h>
+#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"