aboutsummaryrefslogtreecommitdiff
path: root/src/sync.cpp
diff options
context:
space:
mode:
authorChun Kuan Lee <ken2812221@gmail.com>2018-05-15 09:27:14 +0000
committerChun Kuan Lee <ken2812221@gmail.com>2018-05-17 08:13:54 +0000
commit84f41946b9026e8bf7bc44ed848dfb945394b693 (patch)
treed26359717e80bbb387eb47069a6cf66afa6abe28 /src/sync.cpp
parent3b84ebb5bc0d55d488ce2626ac3232729535eca8 (diff)
break circular dependency: random/sync -> util -> random/sync
Diffstat (limited to 'src/sync.cpp')
-rw-r--r--src/sync.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/sync.cpp b/src/sync.cpp
index 6f21d498ee..1f27aeb40b 100644
--- a/src/sync.cpp
+++ b/src/sync.cpp
@@ -4,13 +4,15 @@
#include <sync.h>
-#include <memory>
-#include <set>
-#include <util.h>
+#include <logging.h>
#include <utilstrencodings.h>
#include <stdio.h>
+#include <map>
+#include <memory>
+#include <set>
+
#ifdef DEBUG_LOCKCONTENTION
#if !defined(HAVE_THREAD_LOCAL)
static_assert(false, "thread_local is not supported");