From b2515b9e0b1e5e709716308a515026b3e6ff23b5 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 6 Aug 2013 18:36:00 -0700 Subject: [PATCH] buffer: change #include order huangjun reports that this fixes the compilation on CentOS5. Signed-off-by: Sage Weil --- src/include/buffer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/include/buffer.h b/src/include/buffer.h index 99c1985e616..8c4dfb56e17 100644 --- a/src/include/buffer.h +++ b/src/include/buffer.h @@ -16,17 +16,18 @@ #define CEPH_BUFFER_H #if defined(__linux__) +#include #include #elif defined(__FreeBSD__) #include #include "include/inttypes.h" +#include #endif #ifndef _XOPEN_SOURCE # define _XOPEN_SOURCE 600 #endif -#include #include #ifdef DARWIN