1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:28:11 +00:00

LibCore: Don't include sys/sysctl.h on Solaris

This commit is contained in:
Niklas Poslovski 2023-08-24 19:09:09 +02:00 committed by Sam Atkins
parent 418f9ceadd
commit ebc5b33b77
2 changed files with 2 additions and 2 deletions

View file

@ -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 <sys/sysctl.h>
#endif