common: #include <atomic> in headers where atomic<> is used

so these headers are self-contained.

Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2017-05-31 00:25:59 +08:00
parent 1b96dada33
commit edd41a7015
2 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,7 @@
#ifndef CEPH_LOGCLIENT_H
#define CEPH_LOGCLIENT_H
#include <atomic>
#include "common/LogEntry.h"
#include "common/Mutex.h"

View 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"