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
Notes: sideshowbarker 2024-07-19 16:52:55 +09:00
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@
#if defined(AK_OS_SERENITY)
# include <serenity.h>
# include <syscall.h>
#elif defined(AK_OS_BSD_GENERIC)
#elif defined(AK_OS_BSD_GENERIC) && !defined(AK_OS_SOLARIS)
# include <sys/sysctl.h>
#endif

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