--- a/lock.hh +++ b/lock.hh @@ -20,6 +20,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #pragma once+#include <mutex> #include <shared_mutex> class ReadWriteLock