From 6f6ef708b0b7f3a9d9a33c3fc217eae00f797791 Mon Sep 17 00:00:00 2001 From: John Spray <john.spray@redhat.com> Date: Thu, 1 Dec 2016 19:14:50 +0000 Subject: [PATCH] compact_set: add #includes for dependencies This was previously working by side effects, I happened to include it somewhere that its dependencies weren't already included. Signed-off-by: John Spray <john.spray@redhat.com> --- src/include/compact_set.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/include/compact_set.h b/src/include/compact_set.h index fcd847baff8..63707abc4c7 100644 --- a/src/include/compact_set.h +++ b/src/include/compact_set.h @@ -12,7 +12,11 @@ #ifndef CEPH_COMPACT_SET_H #define CEPH_COMPACT_SET_H -#include <set> +#include <stdlib.h> + +#include "include/buffer.h" +#include "include/encoding.h" + template <class T, class Set> class compact_set_base {