aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/odhtdb/DatabaseStorage.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/odhtdb/DatabaseStorage.hpp b/include/odhtdb/DatabaseStorage.hpp
index b0c081e..8d559cd 100644
--- a/include/odhtdb/DatabaseStorage.hpp
+++ b/include/odhtdb/DatabaseStorage.hpp
@@ -19,6 +19,7 @@
#include <sibs/SafeDeserializer.hpp>
#include <functional>
#include <sibs/DirectConnection.hpp>
+#include <mutex>
class sqlite3;
class sqlite3_stmt;
@@ -201,5 +202,6 @@ namespace odhtdb
u8 passwordSalt[PASSWORD_SALT_LEN];
std::vector<std::shared_ptr<sibs::DirectConnectionPeer>> remotePeers;
+ std::recursive_mutex databaseOperationCallbackMutex;
};
}