projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
changelog: note public include directory changes
[awesomized/libmemcached]
/
example
/
interface_v0.cc
diff --git
a/example/interface_v0.cc
b/example/interface_v0.cc
index 1cba4eb1a263aef110d121cac31121b5336e0d1e..cf53dded75c22283b86c3772cfaac735063de42f 100644
(file)
--- a/
example/interface_v0.cc
+++ b/
example/interface_v0.cc
@@
-5,18
+5,20
@@
* specification next to your coffee ;-)
*/
* specification next to your coffee ;-)
*/
-#include "config.h"
+#include "
mem_
config.h"
#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"