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 windows support
[awesomized/libmemcached]
/
example
/
interface_v0.cc
diff --git
a/example/interface_v0.cc
b/example/interface_v0.cc
index e4f5c9013c76a972d05872e50c6eb96ea621afb3..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 <
assert.h
>
+#include <
cassert
>
#include <sys/types.h>
#include <sys/types.h>
-#include <stdio.h>
-#include <unistd.h>
+#include <cstdio>
+#if HAVE_UNISTD_H
+# include <unistd.h>
+#endif
#include <fcntl.h>
#include <fcntl.h>
-#include <
errno.h
>
-#include <
stdlib.h
>
-#include <
string.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"