]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
common: #include <atomic> in headers where atomic<> is used
authorKefu Chai <kchai@redhat.com>
Tue, 30 May 2017 16:25:59 +0000 (00:25 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 14 Jun 2017 15:53:50 +0000 (23:53 +0800)
so these headers are self-contained.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/common/LogClient.h
src/common/TrackedOp.h

index 337d2599803d0101378ba2499963eff0bce8f4ea..56bb91ba9934c41aa5b958cb92a24f36a9d2dd58 100644 (file)
@@ -15,6 +15,7 @@
 #ifndef CEPH_LOGCLIENT_H
 #define CEPH_LOGCLIENT_H
 
+#include <atomic>
 #include "common/LogEntry.h"
 #include "common/Mutex.h"
 
index 40f38a61a5c2d68090da35c3a2faf5247273a887..1ee81075d23f95e280888fec61787b9680a99404 100644 (file)
@@ -14,6 +14,7 @@
 #ifndef TRACKEDREQUEST_H_
 #define TRACKEDREQUEST_H_
 
+#include <atomic>
 #include "common/histogram.h"
 #include "msg/Message.h"
 #include "common/RWLock.h"