X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/b27841d687ec9e84983340b5581376dfb24010ea..2196a3a0cdc5384c082febb7f4aa5994cc7d80db:/projects/stargazer/plugins/store/postgresql/postgresql_store.h diff --git a/projects/stargazer/plugins/store/postgresql/postgresql_store.h b/projects/stargazer/plugins/store/postgresql/postgresql_store.h index b4a1c5e8..7b2e9604 100644 --- a/projects/stargazer/plugins/store/postgresql/postgresql_store.h +++ b/projects/stargazer/plugins/store/postgresql/postgresql_store.h @@ -26,6 +26,7 @@ #include #include +#include #include @@ -148,7 +149,7 @@ class POSTGRESQL_STORE : public STG::Store std::string password; std::string clientEncoding; STG::ModuleSettings settings; - mutable pthread_mutex_t mutex; + mutable std::mutex m_mutex; mutable int version; int retries;