summaryrefslogtreecommitdiff
path: root/protocol_binary.h
diff options
context:
space:
mode:
authorTrond Norbye <Trond.Norbye@sun.com>2009-11-04 11:40:56 +0100
committerDustin Sallings <dustin@spy.net>2009-11-04 10:29:24 -0800
commit24869322da6262588d40eb6b12427feed929aede (patch)
tree4dd10ed1302c3deb4b63498c35a0239b4b52c3d6 /protocol_binary.h
parente24110a42dcf036f25e38211198c8a1f8f9590da (diff)
downloadmemcached-24869322da6262588d40eb6b12427feed929aede.tar.gz
Allow semi-broken C99 compilers to compile memcached
Some C compilers understand the syntax we use in memcached, but do not ship stdbool.h or stdint.h. According to C99 inttypes.h contains the formatting macros we use (PRInn) and is supposed to include stdint.h. This patch tries to detect stdbool.h and inttypes.h and tries to include them from config.h
Diffstat (limited to 'protocol_binary.h')
-rw-r--r--protocol_binary.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/protocol_binary.h b/protocol_binary.h
index e132f00..aa5dcc4 100644
--- a/protocol_binary.h
+++ b/protocol_binary.h
@@ -35,8 +35,6 @@
#ifndef PROTOCOL_BINARY_H
#define PROTOCOL_BINARY_H
-#include <stdint.h>
-
/**
* This file contains definitions of the constants and packet formats
* defined in the binary specification. Please note that you _MUST_ remember