Commit ec784331 authored by Alexander Alekhin's avatar Alexander Alekhin Committed by GitHub

Merge pull request #8353 from lpetre:backport_3593

backport of PR #3593
parents d856604a 61936eb1
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
#include <sys/types.h> #include <sys/types.h>
#if defined ANDROID #if defined ANDROID
#include <sys/sysconf.h> #include <sys/sysconf.h>
#else #elif defined __APPLE__
#include <sys/sysctl.h> #include <sys/sysctl.h>
#endif #endif
#endif #endif
......
...@@ -163,8 +163,6 @@ std::wstring GetTempFileNameWinRT(std::wstring prefix) ...@@ -163,8 +163,6 @@ std::wstring GetTempFileNameWinRT(std::wstring prefix)
#include <sys/types.h> #include <sys/types.h>
#if defined ANDROID #if defined ANDROID
#include <sys/sysconf.h> #include <sys/sysconf.h>
#else
#include <sys/sysctl.h>
#endif #endif
#endif #endif
......
...@@ -129,9 +129,9 @@ extern "C" { ...@@ -129,9 +129,9 @@ extern "C" {
#include <unistd.h> #include <unistd.h>
#include <stdio.h> #include <stdio.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/sysctl.h>
#include <sys/time.h> #include <sys/time.h>
#if defined __APPLE__ #if defined __APPLE__
#include <sys/sysctl.h>
#include <mach/clock.h> #include <mach/clock.h>
#include <mach/mach.h> #include <mach/mach.h>
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment