From: Kefu Chai Date: Tue, 30 May 2017 16:25:59 +0000 (+0800) Subject: common: #include in headers where atomic<> is used X-Git-Tag: v12.1.0~146^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=edd41a701530f08a78f0d6bfdd449c2667b96740;p=ceph.git common: #include in headers where atomic<> is used so these headers are self-contained. Signed-off-by: Kefu Chai --- diff --git a/src/common/LogClient.h b/src/common/LogClient.h index 337d2599803..56bb91ba993 100644 --- a/src/common/LogClient.h +++ b/src/common/LogClient.h @@ -15,6 +15,7 @@ #ifndef CEPH_LOGCLIENT_H #define CEPH_LOGCLIENT_H +#include #include "common/LogEntry.h" #include "common/Mutex.h" diff --git a/src/common/TrackedOp.h b/src/common/TrackedOp.h index 40f38a61a5c..1ee81075d23 100644 --- a/src/common/TrackedOp.h +++ b/src/common/TrackedOp.h @@ -14,6 +14,7 @@ #ifndef TRACKEDREQUEST_H_ #define TRACKEDREQUEST_H_ +#include #include "common/histogram.h" #include "msg/Message.h" #include "common/RWLock.h"