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/init.c | |
| parent | e2005fda57ea4da12754d67ba127b09508125395 (diff) | |
almost cross compliing c++
Diffstat (limited to 'userspace/init.c')
| -rw-r--r-- | userspace/init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/userspace/init.c b/userspace/init.c index 1592d39..84c47a5 100644 --- a/userspace/init.c +++ b/userspace/init.c @@ -2,10 +2,12 @@ #include <time.h> #include "put_pixel.h" #include "newcalls.h" +#include <reent.h> int main(int argc, char **argv) { + _REENT_INIT_PTR(_impure_ptr); char *argv1[]={"xterm","/bin/fsh",0}; char *env1[]={"HOME=/home/miguel","PS1=\033[34m$\033[37m","PWD=/home/miguel","PATH=/bin","TERM=fool-term",0}; |
