diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2019-05-16 20:17:53 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2019-05-16 20:19:10 +0200 |
commit | 8f2f17f79a10ab3db13f95291d302f5eae3e3a91 (patch) | |
tree | 702f45384debce5366a48ec0f7a91ab7d441a7a9 /src | |
parent | fd7d97decbf4becccf4ccf33d467eee6b21fa76e (diff) | |
parent | 41ab2a892456f4f3e27128a7f9237bc45cc288dd (diff) |
Merge #15970: Utils and libraries: fix static_assert for macro HAVE_THREAD_LOCAL
41ab2a892456f4f3e27128a7f9237bc45cc288dd fix static_assert for macro HAVE_THREAD_LOCAL (orient)
Pull request description:
Utils and libraries: fix static_assert for macro HAVE_THREAD_LOCAL if define DEBUG_LOCKCONTENTION
ACKs for commit 41ab2a:
laanwj:
utACK 41ab2a892456f4f3e27128a7f9237bc45cc288dd
Tree-SHA512: 6c1d20375a70cbdef1140c544f443106d6bf6c34b1da2ddc66739f2b662a0d6b800288f48bf451a3d5937bac7e40b8ecda3a4effcc978d0093fc497410447ea7
Diffstat (limited to 'src')
-rw-r--r-- | src/sync.cpp | 4 |
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> |