backport of PR #3593
@ -56,7 +56,7 @@
#include <sys/types.h>
#if defined ANDROID
#include <sys/sysconf.h>
#else
#elif defined __APPLE__
#include <sys/sysctl.h>
#endif
@ -163,8 +163,6 @@ std::wstring GetTempFileNameWinRT(std::wstring prefix)
@ -129,9 +129,9 @@ extern "C" {
#include <unistd.h>
#include <stdio.h>
#include <sys/time.h>
#if defined __APPLE__
#include <mach/clock.h>
#include <mach/mach.h>