diff --git a/Shell/Builtin.cpp b/Shell/Builtin.cpp index 6e2a8e89a4f..fb2734b3e4a 100644 --- a/Shell/Builtin.cpp +++ b/Shell/Builtin.cpp @@ -31,7 +31,9 @@ #include #include #include +#include +extern char** environ; extern RefPtr editor; int Shell::builtin_alias(int argc, const char** argv) diff --git a/Shell/Shell.cpp b/Shell/Shell.cpp index cd22875052d..4909b3e8b99 100644 --- a/Shell/Shell.cpp +++ b/Shell/Shell.cpp @@ -52,6 +52,7 @@ static bool s_disable_hyperlinks = false; extern RefPtr editor; +extern char** environ; //#define SH_DEBUG