summaryrefslogtreecommitdiffstats
path: root/src/test/librbd/test_mock_Journal.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/librbd/test_mock_Journal.cc')
-rw-r--r--src/test/librbd/test_mock_Journal.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/librbd/test_mock_Journal.cc b/src/test/librbd/test_mock_Journal.cc
index 589695c50b3..d39f9c75c02 100644
--- a/src/test/librbd/test_mock_Journal.cc
+++ b/src/test/librbd/test_mock_Journal.cc
@@ -9,6 +9,7 @@
#include "test/librbd/mock/io/MockObjectDispatch.h"
#include "common/Cond.h"
#include "common/ceph_mutex.h"
+#include "common/debug.h"
#include "common/WorkQueue.h"
#include "cls/journal/cls_journal_types.h"
#include "journal/Journaler.h"
@@ -28,6 +29,7 @@
#include "gtest/gtest.h"
#include <functional>
#include <list>
+#include <shared_mutex> // for std::shared_lock
#include <boost/scope_exit.hpp>
#define dout_context g_ceph_context