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:
leper 2019-01-16 23:00:07 +01:00 committed by VÖRÖSKŐI András
parent b45560cfc4
commit 6474f25934

View File

@ -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>