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/308/head
leper 5 years ago committed by VÖRÖSKŐI András
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…
Cancel
Save