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