]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rbd/bench: include used headers
authorKefu Chai <kchai@redhat.com>
Tue, 26 Jan 2021 08:08:43 +0000 (16:08 +0800)
committerJason Dillaman <dillaman@redhat.com>
Tue, 26 Jan 2021 14:52:29 +0000 (09:52 -0500)
should help with fixing following failure:

src/tools/rbd/action/Bench.cc:20:26: error: aggregate 'std::atomic<bool>
terminating' has incomplete type and cannot be defined

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit f16ac13c13eceed7adb5a4a04a3372b921e63031)

src/tools/rbd/action/Bench.cc

index aa6edbc18b80872aa50880ea4ef31d716dc87de4..304b5c22918793cb57a0767c5090ffa40f0a616c 100644 (file)
@@ -9,6 +9,8 @@
 #include "common/ceph_mutex.h"
 #include "include/types.h"
 #include "global/signal_handler.h"
+#include <atomic>
+#include <chrono>
 #include <iostream>
 #include <boost/accumulators/accumulators.hpp>
 #include <boost/accumulators/statistics/stats.hpp>