summaryrefslogtreecommitdiffstats
path: root/src/test/librbd/test_mock_ExclusiveLock.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/librbd/test_mock_ExclusiveLock.cc')
-rw-r--r--src/test/librbd/test_mock_ExclusiveLock.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/librbd/test_mock_ExclusiveLock.cc b/src/test/librbd/test_mock_ExclusiveLock.cc
index 6feb54ec661..259adab9d0b 100644
--- a/src/test/librbd/test_mock_ExclusiveLock.cc
+++ b/src/test/librbd/test_mock_ExclusiveLock.cc
@@ -15,6 +15,7 @@
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include <list>
+#include <shared_mutex> // for std::shared_lock
#include <boost/scope_exit.hpp>
namespace librbd {