summaryrefslogtreecommitdiffstats
path: root/src/test/librbd/test_mock_ObjectMap.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/librbd/test_mock_ObjectMap.cc')
-rw-r--r--src/test/librbd/test_mock_ObjectMap.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/librbd/test_mock_ObjectMap.cc b/src/test/librbd/test_mock_ObjectMap.cc
index 39e29172c58..e2085d093cb 100644
--- a/src/test/librbd/test_mock_ObjectMap.cc
+++ b/src/test/librbd/test_mock_ObjectMap.cc
@@ -10,6 +10,8 @@
#include "librbd/object_map/UpdateRequest.h"
#include <boost/scope_exit.hpp>
+#include <shared_mutex> // for std::shared_lock
+
namespace librbd {
namespace {