aboutsummaryrefslogtreecommitdiff
path: root/src/shutdown.cpp
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2022-05-02 16:37:31 +0200
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2022-05-02 16:41:30 +0200
commit88044a14d9b2c6c70a3330ee1545a9eb39d14d89 (patch)
treed8be976e442e91c3e8916b17dbd6b4f3d06860bb /src/shutdown.cpp
parent037c5e511fe2185d244049cae25a98f99b878787 (diff)
Guard `#include <config/bitcoin-config.h>`
Diffstat (limited to 'src/shutdown.cpp')
-rw-r--r--src/shutdown.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/shutdown.cpp b/src/shutdown.cpp
index 93f04e9021..fdf726b5f1 100644
--- a/src/shutdown.cpp
+++ b/src/shutdown.cpp
@@ -5,13 +5,15 @@
#include <shutdown.h>
+#if defined(HAVE_CONFIG_H)
+#include <config/bitcoin-config.h>
+#endif
+
#include <logging.h>
#include <node/ui_interface.h>
#include <util/tokenpipe.h>
#include <warnings.h>
-#include <config/bitcoin-config.h>
-
#include <assert.h>
#include <atomic>
#ifdef WIN32