From 1d0fcd847d8547c6835fcebf4bd125a600e6da96 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Mon, 14 Jan 2019 18:05:00 +0800 Subject: [PATCH] common/pick_address: #include "ceph_context.h" pick_address.cc reference cct->_conf, so it should include the definition of of CephContext explicitly instead of relying on the fact that some headers it includes include its definition. Signed-off-by: Kefu Chai --- src/common/pick_address.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/pick_address.cc b/src/common/pick_address.cc index 95b42436de23a..e9a7f1f642693 100644 --- a/src/common/pick_address.cc +++ b/src/common/pick_address.cc @@ -15,6 +15,7 @@ #include "common/pick_address.h" #include "include/ipaddr.h" #include "include/str_list.h" +#include "common/ceph_context.h" #include "common/config_obs.h" #include "common/debug.h" #include "common/errno.h" -- 2.39.5