break circular dependency: random/sync -> util -> random/sync

This commit is contained in:
Chun Kuan Lee
2018-05-15 09:27:14 +00:00
parent 3b84ebb5bc
commit 84f41946b9
2 changed files with 8 additions and 5 deletions

View File

@@ -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");