From c6e2b703c560878bdb49377064d255b5a5fb50af Mon Sep 17 00:00:00 2001 From: Mark Lai Date: Wed, 16 Aug 2023 17:50:21 +0800 Subject: [PATCH] Include cerrno in fesvr/elfloader.cc It caused compile error "use of undeclared identifier 'errno'" at line 26 and 33. I Add #include in fesvr/elfloader.cc to fix error and compile successfully. --- fesvr/elfloader.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/fesvr/elfloader.cc b/fesvr/elfloader.cc index c70de12dbb..391afa04bb 100644 --- a/fesvr/elfloader.cc +++ b/fesvr/elfloader.cc @@ -16,6 +16,7 @@ #include #include #include +#include std::map load_elf(const char* fn, memif_t* memif, reg_t* entry, unsigned required_xlen = 0) {