mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 12:05:15 +00:00
Shell: Explicitly declare 'environ' to make the macOS Lagom build happy
This commit is contained in:
parent
4eb967b5eb
commit
cd8495f1d4
Notes:
sideshowbarker
2024-07-19 04:49:31 +09:00
Author: https://github.com/alimpfard Commit: https://github.com/SerenityOS/serenity/commit/cd8495f1d4b Pull-request: https://github.com/SerenityOS/serenity/pull/2799
2 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
|
@ -52,6 +52,7 @@
|
|||
|
||||
static bool s_disable_hyperlinks = false;
|
||||
extern RefPtr<Line::Editor> editor;
|
||||
extern char** environ;
|
||||
|
||||
//#define SH_DEBUG
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue