From 2d88f075ba6f992c778b1f24cb2eec634158d319 Mon Sep 17 00:00:00 2001 From: Gregory Sanders Date: Mon, 14 Aug 2017 10:13:09 -0700 Subject: [PATCH] only include wallet if defined --- src/rpc/mining.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp index c540bcd3e5..5ccd03a615 100644 --- a/src/rpc/mining.cpp +++ b/src/rpc/mining.cpp @@ -22,7 +22,10 @@ #include "util.h" #include "utilstrencodings.h" #include "validationinterface.h" + +#ifdef ENABLE_WALLET #include "wallet/wallet.h" +#endif #include #include