Add missing includes to fix compile errors

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<void()> fn, int64_t seconds) = 0;
                                                       ^~~
This commit is contained in:
MarcoFalke
2020-06-05 16:11:36 -04:00
parent fa09ec83f3
commit fa193c6b1b
2 changed files with 5 additions and 1 deletions

View File

@@ -8,6 +8,7 @@
#include <optional.h> // For Optional and nullopt
#include <primitives/transaction.h> // For CTransactionRef
#include <functional>
#include <memory>
#include <stddef.h>
#include <stdint.h>