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.
pull/294/head
leper 5 years ago
parent a94838c6cf
commit 34c85d642d

@ -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…
Cancel
Save