projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Bump up version we test for binary protocol (per advice from Dormando).
[awesomized/libmemcached]
/
clients
/
memcp.c
diff --git
a/clients/memcp.c
b/clients/memcp.c
index 1dc30631900eed71032fa4424c6201eceed8b9b0..5b0518e7caa63b4c94d0efb4a79794391f2519db 100644
(file)
--- a/
clients/memcp.c
+++ b/
clients/memcp.c
@@
-9,7
+9,8
@@
*
*/
*
*/
-#include "libmemcached/common.h"
+#include "config.h"
+
#include <stdio.h>
#include <stdlib.h>
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
#include <inttypes.h>
@@
-22,6
+23,10
@@
#include <errno.h>
#include <strings.h>
#include <string.h>
#include <errno.h>
#include <strings.h>
#include <string.h>
+#include <sys/types.h>
+#include <stdlib.h>
+#include <limits.h>
+
#include <libmemcached/memcached.h>
#include <libmemcached/memcached.h>
@@
-80,6
+85,7
@@
int main(int argc, char *argv[])
int return_code= 0;
options_parse(argc, argv);
int return_code= 0;
options_parse(argc, argv);
+ initialize_sockets();
memc= memcached_create(NULL);
process_hash_option(memc, opt_hash);
memc= memcached_create(NULL);
process_hash_option(memc, opt_hash);