aboutsummaryrefslogtreecommitdiff
path: root/src/sync.cpp
diff options
context:
space:
mode:
authororient <orientye@users.noreply.github.com>2019-05-07 14:11:35 +0800
committerGitHub <noreply@github.com>2019-05-07 14:11:35 +0800
commit41ab2a892456f4f3e27128a7f9237bc45cc288dd (patch)
treeae014378378a43580631abf781edf287dd95bdad /src/sync.cpp
parent3632143ebbfdd4888571db800c8ee8d684eec57b (diff)
fix static_assert for macro HAVE_THREAD_LOCAL
fix static_assert for macro HAVE_THREAD_LOCAL while define DEBUG_LOCKCONTENTION
Diffstat (limited to 'src/sync.cpp')
-rw-r--r--src/sync.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sync.cpp b/src/sync.cpp
index e7c0a6f9bc..c2767b200a 100644
--- a/src/sync.cpp
+++ b/src/sync.cpp
@@ -2,6 +2,10 @@
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
+#if defined(HAVE_CONFIG_H)
+#include <config/bitcoin-config.h>
+#endif
+
#include <sync.h>
#include <tinyformat.h>