Add an exception class for tossing resource error.
[m6w6/libmemcached] / example / interface_v1.c
index 2fcc0790da7a260910c3ddb0036d5cf0ed4479d8..d2b20712664ec8321b5b78be51fe38ef28e7e9a5 100644 (file)
@@ -11,9 +11,6 @@
 #include "config.h"
 #include <assert.h>
 #include <sys/types.h>
-#include <sys/socket.h>
-#include <netdb.h>
-#include <netinet/tcp.h>
 #include <stdio.h>
 #include <unistd.h>
 #include <fcntl.h>
@@ -21,8 +18,8 @@
 #include <stdlib.h>
 #include <string.h>
 
-#include <libmemcached/protocol_handler.h>
-#include <libmemcached/byteorder.h>
+#include <libmemcachedprotocol-0.0/handler.h>
+#include <example/byteorder.h>
 #include "storage.h"
 
 static protocol_binary_response_status add_handler(const void *cookie,