From: Kefu Chai Date: Mon, 14 Jan 2019 10:05:00 +0000 (+0800) Subject: common/pick_address: #include "ceph_context.h" X-Git-Tag: v14.1.0~379^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1d0fcd847d8547c6835fcebf4bd125a600e6da96;p=ceph.git 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 --- diff --git a/src/common/pick_address.cc b/src/common/pick_address.cc index 95b42436de23..e9a7f1f64269 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"