Shell: Explicitly declare 'environ' to make the macOS Lagom build happy

This commit is contained in:
AnotherTest 2020-07-14 23:22:52 +04:30 committed by Andreas Kling
parent 4eb967b5eb
commit cd8495f1d4
Notes: sideshowbarker 2024-07-19 04:49:31 +09:00
2 changed files with 3 additions and 0 deletions

View file

@ -31,7 +31,9 @@
#include <inttypes.h>
#include <signal.h>
#include <sys/wait.h>
#include <unistd.h>
extern char** environ;
extern RefPtr<Line::Editor> editor;
int Shell::builtin_alias(int argc, const char** argv)

View file

@ -52,6 +52,7 @@
static bool s_disable_hyperlinks = false;
extern RefPtr<Line::Editor> editor;
extern char** environ;
//#define SH_DEBUG