LibCore: Explicitly declare environ in Process.cpp to unbreak macOS

This commit is contained in:
Andreas Kling 2021-08-06 01:29:09 +02:00
parent 5d3b452897
commit f5c3225286

View file

@ -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)