Merge pull request #8353 from lpetre:backport_3593

backport of PR #3593
pull/8562/head
Alexander Alekhin 8 years ago committed by GitHub
commit ec784331fb
  1. 2
      modules/core/src/parallel.cpp
  2. 2
      modules/core/src/system.cpp
  3. 2
      modules/highgui/src/cap_ffmpeg_impl.hpp

@ -56,7 +56,7 @@
#include <sys/types.h>
#if defined ANDROID
#include <sys/sysconf.h>
#else
#elif defined __APPLE__
#include <sys/sysctl.h>
#endif
#endif

@ -163,8 +163,6 @@ std::wstring GetTempFileNameWinRT(std::wstring prefix)
#include <sys/types.h>
#if defined ANDROID
#include <sys/sysconf.h>
#else
#include <sys/sysctl.h>
#endif
#endif

@ -129,9 +129,9 @@ extern "C" {
#include <unistd.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/sysctl.h>
#include <sys/time.h>
#if defined __APPLE__
#include <sys/sysctl.h>
#include <mach/clock.h>
#include <mach/mach.h>
#endif

Loading…
Cancel
Save