clang complains as `include/common_fwd.h` declares in a different way
Signed-off-by: Kefu Chai <kchai@redhat.com>
#ifndef CEPH_LIBRBD_DEEP_COPY_UTILS_H
#define CEPH_LIBRBD_DEEP_COPY_UTILS_H
+#include "include/common_fwd.h"
#include "include/rados/librados.hpp"
#include "librbd/Types.h"
#include "librbd/deep_copy/Types.h"
#include <boost/optional.hpp>
-struct CephContext;
-
namespace librbd {
namespace deep_copy {
namespace util {
#ifndef CEPH_LIBRBD_IMAGE_GET_METADATA_REQUEST_H
#define CEPH_LIBRBD_IMAGE_GET_METADATA_REQUEST_H
+#include "include/common_fwd.h"
#include "include/rados/librados.hpp"
#include "include/rbd/librbd.hpp"
#include <string>
#include <map>
-class CephContext;
class Context;
namespace librbd {
#include "common/snap_types.h"
#include "include/buffer.h"
+#include "include/common_fwd.h"
#include "include/rados/librados.hpp"
#include "librbd/Types.h"
#include "librbd/mirror/Types.h"
#include <string>
-class CephContext;
class ContextWQ;
struct Context;