projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
gh-actions: fix workflow
[awesomized/libmemcached]
/
example
/
interface_v1.cc
diff --git
a/example/interface_v1.cc
b/example/interface_v1.cc
index 8afe12a3903ede6abf7df54490705b9fd3808246..c6f5bf199f9c83929df65bb36cac3f5e83659ad9 100644
(file)
--- a/
example/interface_v1.cc
+++ b/
example/interface_v1.cc
@@
-8,7
+8,7
@@
* you will not receive the next command before a answer to the previous
* command is being sent.
*/
* you will not receive the next command before a answer to the previous
* command is being sent.
*/
-#include "config.h"
+#include "
mem_
config.h"
#include <cassert>
#include <cerrno>
#include <cassert>
#include <cerrno>
@@
-17,8
+17,9
@@
#include <cstring>
#include <fcntl.h>
#include <sys/types.h>
#include <cstring>
#include <fcntl.h>
#include <sys/types.h>
-#include <unistd.h>
-
+#if HAVE_UNISTD_H
+# include <unistd.h>
+#endif
#include <libmemcachedprotocol-0.0/handler.h>
#include <example/byteorder.h>
#include "example/memcached_light.h"
#include <libmemcachedprotocol-0.0/handler.h>
#include <example/byteorder.h>
#include "example/memcached_light.h"