summaryrefslogtreecommitdiff
path: root/src/osdc
diff options
context:
space:
mode:
authorJosh Durgin <josh.durgin@inktank.com>2012-05-24 09:43:23 -0700
committerJosh Durgin <josh.durgin@inktank.com>2012-05-24 09:45:45 -0700
commit9a9418ebfde1b29416c60da3e7fcf4f1e097e96c (patch)
tree45ba181f3cf35c15d281fb02ff47f1785ec64043 /src/osdc
parentbf2028fc514575abdf144df753cf01f497670728 (diff)
downloadceph-9a9418ebfde1b29416c60da3e7fcf4f1e097e96c.tar.gz
librados, ObjectCacher: include limits.h for INT_MAX
This was required to build on CentOS 6.2. I'm not sure why it worked without it on Debian. Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'src/osdc')
-rw-r--r--src/osdc/ObjectCacher.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/osdc/ObjectCacher.cc b/src/osdc/ObjectCacher.cc
index ade79fb382f..d03ff454547 100644
--- a/src/osdc/ObjectCacher.cc
+++ b/src/osdc/ObjectCacher.cc
@@ -7,6 +7,7 @@
#include "common/errno.h"
#include "common/perf_counters.h"
+#include <limits.h>
/*** ObjectCacher::BufferHead ***/