mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Only include sys/sysctl.h on for Apple (#916)
glibc deprecated that header in version 2.30, and removed it in 2.32.
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
|
||||
#if !defined (_WIN32)
|
||||
#include <sys/resource.h>
|
||||
#if !defined(__ANDROID__)
|
||||
#if defined(__APPLE__)
|
||||
#include <sys/sysctl.h>
|
||||
#endif
|
||||
#include <libgen.h>
|
||||
|
||||
Reference in New Issue
Block a user