aboutsummaryrefslogtreecommitdiff
path: root/src/util/check.h
diff options
context:
space:
mode:
authorRussell Yanofsky <russ@yanofsky.org>2020-04-17 11:15:55 -0400
committerRussell Yanofsky <russ@yanofsky.org>2020-05-13 16:20:13 -0400
commit691c817b340d10e806dc3b1834d2a8fcc5e681fd (patch)
tree1488abd285cf8d1026ac735ef03b80311c767326 /src/util/check.h
parent04c09553d89809cf6328679d7535ecaa0070485d (diff)
downloadbitcoin-691c817b340d10e806dc3b1834d2a8fcc5e681fd.tar.xz
Add util::Ref class as temporary alternative for c++17 std::any
This commit does not change behavior
Diffstat (limited to 'src/util/check.h')
-rw-r--r--src/util/check.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util/check.h b/src/util/check.h
index d18887ae95..5c0f32cf51 100644
--- a/src/util/check.h
+++ b/src/util/check.h
@@ -5,6 +5,10 @@
#ifndef BITCOIN_UTIL_CHECK_H
#define BITCOIN_UTIL_CHECK_H
+#if defined(HAVE_CONFIG_H)
+#include <config/bitcoin-config.h>
+#endif
+
#include <tinyformat.h>
#include <stdexcept>