mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-22 12:35:14 +00:00
LibCore: Explicitly declare environ
in Process.cpp to unbreak macOS
This commit is contained in:
parent
5d3b452897
commit
f5c3225286
Notes:
sideshowbarker
2024-07-18 07:25:07 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/f5c32252866
1 changed files with 2 additions and 1 deletions
|
@ -8,12 +8,13 @@
|
|||
#include <LibCore/Process.h>
|
||||
#include <errno.h>
|
||||
#include <spawn.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#ifdef __serenity__
|
||||
# include <serenity.h>
|
||||
#endif
|
||||
|
||||
extern char** environ;
|
||||
|
||||
namespace Core {
|
||||
|
||||
pid_t Process::spawn(StringView path)
|
||||
|
|
Loading…
Add table
Reference in a new issue