mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-13 11:42:38 +03:00
LibCore: Don't include sys/sysctl.h on Solaris
This commit is contained in:
parent
418f9ceadd
commit
ebc5b33b77
Notes:
sideshowbarker
2024-07-19 16:52:55 +09:00
Author: https://github.com/ghost Commit: https://github.com/SerenityOS/serenity/commit/ebc5b33b77a Pull-request: https://github.com/SerenityOS/serenity/pull/20751
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user