Closed IngwiePhoenix closed 10 years ago
Let's try to add:
extern char **environ;
P.S. found it here https://rt.cpan.org/Public/Bug/Display.html?id=80272
I found that as well, so at roughly L629, I just added that. Here is how it looks on my end:
}
if(args[has_E]){ /* option '-E'? */
#if 0
char * environ[] = {NULL};
initEnv("_ENV", environ);
#endif
}else{
extern char* environ[]; // L629
initEnv("_ENV", environ);
}
After that, it compiled. Okay, I still get a lot of warnings, but those are quite minor. :)
fixed
Cool :) Am Mo. Feb. 03 2014 08:57:12 schrieb Evgeniy Golovin:
fixed
— Reply to this email directly or view it on GitHub.
Hey. Currently i am compiling on OS X, and I get a few errors. Those are rather simple:
malloc.h
: On OS X, this is included as:<malloc/malloc.h>
For the Last, I will look for a fix. But for the malloc thing:
Kind regards! ^_^