From fa193c6b1b7da8f72a399bfddb1497655ce1685c Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Fri, 5 Jun 2020 16:11:36 -0400 Subject: Add missing includes to fix compile errors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fs.cpp:35:17: error: no member named 'strerror' in namespace 'std' return std::strerror(errno); ~~~~~^ fs.cpp:49:9: error: use of undeclared identifier 'close' close(fd); ^ 2 errors generated. ./interfaces/chain.h:265:55: error: ‘std::function’ has not been declared virtual void rpcRunLater(const std::string& name, std::function fn, int64_t seconds) = 0; ^~~ --- src/interfaces/chain.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/interfaces') diff --git a/src/interfaces/chain.h b/src/interfaces/chain.h index 61d7ddb934..65695707f7 100644 --- a/src/interfaces/chain.h +++ b/src/interfaces/chain.h @@ -8,6 +8,7 @@ #include // For Optional and nullopt #include // For CTransactionRef +#include #include #include #include -- cgit v1.2.3