]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
common/pick_address: #include "ceph_context.h"
authorKefu Chai <kchai@redhat.com>
Mon, 14 Jan 2019 10:05:00 +0000 (18:05 +0800)
committerYingxin Cheng <yingxincheng@gmail.com>
Tue, 15 Jan 2019 05:17:27 +0000 (13:17 +0800)
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 <kchai@redhat.com>
src/common/pick_address.cc

index 95b42436de23a84b493f533bab62bfa9b91554fc..e9a7f1f64269385470ceba793d6a5f5051da60d9 100644 (file)
@@ -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"