mirror of
https://github.com/RGBCube/serenity
synced 2025-07-17 11:17:36 +00:00
LibCore: Explicitly declare environ
in Process.cpp to unbreak macOS
This commit is contained in:
parent
5d3b452897
commit
f5c3225286
1 changed files with 2 additions and 1 deletions
|
@ -8,12 +8,13 @@
|
||||||
#include <LibCore/Process.h>
|
#include <LibCore/Process.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <spawn.h>
|
#include <spawn.h>
|
||||||
#include <unistd.h>
|
|
||||||
|
|
||||||
#ifdef __serenity__
|
#ifdef __serenity__
|
||||||
# include <serenity.h>
|
# include <serenity.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
extern char** environ;
|
||||||
|
|
||||||
namespace Core {
|
namespace Core {
|
||||||
|
|
||||||
pid_t Process::spawn(StringView path)
|
pid_t Process::spawn(StringView path)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue