aboutsummaryrefslogtreecommitdiffstats
path: root/src/db_lock.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/db_lock.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/db_lock.c b/src/db_lock.c
index 3aaba4dc2..88adc3614 100644
--- a/src/db_lock.c
+++ b/src/db_lock.c
@@ -21,3 +21,7 @@
#include "db_lock.h"
GStaticMutex db_mutex = G_STATIC_MUTEX_INIT;
+
+#ifndef NDEBUG
+GThread *db_mutex_holder;
+#endif