Add missing #include.

bd0dbe8763 introduced a dependency of
rpc/util.h on RPCErrorCode, defined in rpc/protocol.h.  The latter file
is only included from rpc/util.cpp, though.  This commit fixes the
missing include, by moving the #include of rpc/protocol.h to
rpc/util.h.
This commit is contained in:
Daniel Kraft 2019-02-18 12:11:41 +01:00
parent 29e82e460e
commit 39e20fc54f
2 changed files with 1 additions and 1 deletions

View file

@ -5,7 +5,6 @@
#include <key_io.h>
#include <keystore.h>
#include <policy/fees.h>
#include <rpc/protocol.h>
#include <rpc/util.h>
#include <tinyformat.h>
#include <util/strencodings.h>

View file

@ -7,6 +7,7 @@
#include <node/transaction.h>
#include <pubkey.h>
#include <rpc/protocol.h>
#include <script/standard.h>
#include <univalue.h>