diff --git a/Userland/Libraries/LibCore/Process.cpp b/Userland/Libraries/LibCore/Process.cpp index 2a923bbbda7..d638d8d9dd0 100644 --- a/Userland/Libraries/LibCore/Process.cpp +++ b/Userland/Libraries/LibCore/Process.cpp @@ -20,7 +20,7 @@ #if defined(AK_OS_SERENITY) # include # include -#elif defined(AK_OS_BSD_GENERIC) +#elif defined(AK_OS_BSD_GENERIC) && !defined(AK_OS_SOLARIS) # include #endif diff --git a/Userland/Libraries/LibCore/System.cpp b/Userland/Libraries/LibCore/System.cpp index 962b637c0f7..b689a4c2bec 100644 --- a/Userland/Libraries/LibCore/System.cpp +++ b/Userland/Libraries/LibCore/System.cpp @@ -50,7 +50,7 @@ static int memfd_create(char const* name, unsigned int flags) extern char** environ; #endif -#if defined(AK_OS_BSD_GENERIC) +#if defined(AK_OS_BSD_GENERIC) && !defined(AK_OS_SOLARIS) # include #endif