mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-15 20:33:10 +00:00
LibCore: Explicitly declare environ
in Process.cpp to unbreak macOS
This commit is contained in:
parent
5d3b452897
commit
f5c3225286
|
@ -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…
Reference in a new issue