Don't include sys/sysctl.h on Linux.
Not only is sysctl() not used on this platform, but musl libc does not have the header.
This commit is contained in:
parent
b45560cfc4
commit
6474f25934
@ -8,7 +8,9 @@
|
||||
#include "Win32.h"
|
||||
#elif NV_OS_UNIX
|
||||
#include <sys/types.h>
|
||||
#if !NV_OS_LINUX
|
||||
#include <sys/sysctl.h>
|
||||
#endif
|
||||
#include <unistd.h>
|
||||
#elif NV_OS_DARWIN
|
||||
#import <stdio.h>
|
||||
|
Loading…
Reference in New Issue
Block a user