diff options
| author | Miguel <m.i@gmx.at> | 2018-10-11 02:14:52 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-10-11 02:14:52 +0200 |
| commit | 8b33f268b67455ded8d35f3c198425562173fa2e (patch) | |
| tree | 947e9b5503c0447f12f6d8d2c00c3b177dddef72 /userspace/fsh.c | |
| parent | e2005fda57ea4da12754d67ba127b09508125395 (diff) | |
almost cross compliing c++
Diffstat (limited to 'userspace/fsh.c')
| -rw-r--r-- | userspace/fsh.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 <string.h> #include <errno.h> #include <string.h> +#include <reent.h> #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<argc;i++) { |
