From 5be34bacf6d07fb73a0cedfb63a384968d538f3e Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Wed, 18 Sep 2024 18:33:53 +0100 Subject: [PATCH] qt: Fix linking when configured with `-DENABLE_WALLET=OFF` This change is required for Qt 6, but it is meaningful on its own. --- src/qt/rpcconsole.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp index ae3f9aa686d..20311cb631c 100644 --- a/src/qt/rpcconsole.cpp +++ b/src/qt/rpcconsole.cpp @@ -16,7 +16,9 @@ #include #include #include +#ifdef ENABLE_WALLET #include +#endif // ENABLE_WALLET #include #include #include