mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 22:17:42 +00:00
Shell: Explicitly declare 'environ' to make the macOS Lagom build happy
This commit is contained in:
parent
4eb967b5eb
commit
cd8495f1d4
2 changed files with 3 additions and 0 deletions
|
@ -31,7 +31,9 @@
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
|
extern char** environ;
|
||||||
extern RefPtr<Line::Editor> editor;
|
extern RefPtr<Line::Editor> editor;
|
||||||
|
|
||||||
int Shell::builtin_alias(int argc, const char** argv)
|
int Shell::builtin_alias(int argc, const char** argv)
|
||||||
|
|
|
@ -52,6 +52,7 @@
|
||||||
|
|
||||||
static bool s_disable_hyperlinks = false;
|
static bool s_disable_hyperlinks = false;
|
||||||
extern RefPtr<Line::Editor> editor;
|
extern RefPtr<Line::Editor> editor;
|
||||||
|
extern char** environ;
|
||||||
|
|
||||||
//#define SH_DEBUG
|
//#define SH_DEBUG
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue