diff options
| author | Russell Yanofsky <[email protected]> | 2020-04-17 11:15:55 -0400 |
|---|---|---|
| committer | Russell Yanofsky <[email protected]> | 2020-05-13 16:20:13 -0400 |
| commit | 691c817b340d10e806dc3b1834d2a8fcc5e681fd (patch) | |
| tree | 1488abd285cf8d1026ac735ef03b80311c767326 /src/util/check.h | |
| parent | Merge #18887: build: enable -Werror=gnu (diff) | |
| download | discoin-691c817b340d10e806dc3b1834d2a8fcc5e681fd.tar.xz discoin-691c817b340d10e806dc3b1834d2a8fcc5e681fd.zip | |
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.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util/check.h b/src/util/check.h index d18887ae9..5c0f32cf5 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> |