From 8b33f268b67455ded8d35f3c198425562173fa2e Mon Sep 17 00:00:00 2001 From: Miguel Date: Thu, 11 Oct 2018 02:14:52 +0200 Subject: almost cross compliing c++ --- userspace/fsh.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'userspace/fsh.c') diff --git a/userspace/fsh.c b/userspace/fsh.c index 0b3acfd..86184e9 100644 --- a/userspace/fsh.c +++ b/userspace/fsh.c @@ -19,6 +19,7 @@ #include #include #include +#include #include "interface/fs.h" #include "newcalls.h" @@ -59,6 +60,7 @@ void prompt() int main(int argc, char **argv) { + _REENT_INIT_PTR(_impure_ptr); for(int i=0;i