]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
messages: #include necessary header
authorKefu Chai <kchai@redhat.com>
Sun, 14 Apr 2019 15:28:28 +0000 (23:28 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 17 Apr 2019 22:59:42 +0000 (06:59 +0800)
for instance, MLogRec is defined in PGPeeringEvent.h, we should not rely
other header(s) to do this for us. so just #include PGPeeringEvent.h for
its definition.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/messages/MBackfillReserve.h
src/messages/MOSDPGLog.h

index 9f9d38bce0289c8756e1a83f7f8e5e3796cc8000..d3e469c8ab2ed032c637045d4af6321f6b16f17e 100644 (file)
@@ -17,6 +17,7 @@
 
 #include "msg/Message.h"
 #include "messages/MOSDPeeringOp.h"
+#include "osd/PGPeeringEvent.h"
 
 class MBackfillReserve : public MOSDPeeringOp {
 private:
index 8e3fd6ee00eb3cdda58cdf3f4442c96adf78a3f5..041e4bd0739b159122b73b92167567149997c94b 100644 (file)
@@ -17,6 +17,7 @@
 #define CEPH_MOSDPGLOG_H
 
 #include "messages/MOSDPeeringOp.h"
+#include "osd/PGPeeringEvent.h"
 
 class MOSDPGLog : public MOSDPeeringOp {
 private: