summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrond Norbye <trond.norbye@gmail.com>2011-03-28 05:12:41 +0200
committerTrond Norbye <trond.norbye@gmail.com>2011-03-28 05:12:41 +0200
commit120994baaf360e219d0e6241032a43a2a8dabd85 (patch)
tree5a91f41ae5e031bb3b0fb49d126805c1f6950465
parent7abbc666e9625ac39305e2e801e55ca195634f36 (diff)
downloadmemcached-120994baaf360e219d0e6241032a43a2a8dabd85.tar.gz
Include dependencies from public headers
The client of the interfaces shouldn't have to figure out which system header to include in order to use our interfaces.
-rw-r--r--include/memcached/config_parser.h1
-rw-r--r--include/memcached/protocol_binary.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/memcached/config_parser.h b/include/memcached/config_parser.h
index 4f27d56..9ea69e7 100644
--- a/include/memcached/config_parser.h
+++ b/include/memcached/config_parser.h
@@ -2,6 +2,7 @@
#define CONFIG_PARSER_H
#include <stdint.h>
+#include <stdio.h>
#include <memcached/visibility.h>
#ifdef __cplusplus
diff --git a/include/memcached/protocol_binary.h b/include/memcached/protocol_binary.h
index 8bcd9ef..4433a80 100644
--- a/include/memcached/protocol_binary.h
+++ b/include/memcached/protocol_binary.h
@@ -36,6 +36,7 @@
#ifndef PROTOCOL_BINARY_H
#define PROTOCOL_BINARY_H
+#include <stdint.h>
#include <memcached/vbucket.h>
/**