From 39e20fc54ff1b57d6e046fc1215e2c2f7f89a97e Mon Sep 17 00:00:00 2001 From: Daniel Kraft Date: Mon, 18 Feb 2019 12:11:41 +0100 Subject: Add missing #include. bd0dbe8763fc3029cf96531c9ccaba280b939445 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. --- src/rpc/util.cpp | 1 - src/rpc/util.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rpc') diff --git a/src/rpc/util.cpp b/src/rpc/util.cpp index 023b4b6746..1eec916abf 100644 --- a/src/rpc/util.cpp +++ b/src/rpc/util.cpp @@ -5,7 +5,6 @@ #include #include #include -#include #include #include #include diff --git a/src/rpc/util.h b/src/rpc/util.h index 1c9ddcdf44..a83ae98b7e 100644 --- a/src/rpc/util.h +++ b/src/rpc/util.h @@ -7,6 +7,7 @@ #include #include +#include #include