diff options
Diffstat (limited to 'vp8')
-rw-r--r-- | vp8/common/threading.h | 1 | ||||
-rw-r--r-- | vp8/decoder/threading.c | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/vp8/common/threading.h b/vp8/common/threading.h index bfd4916c6..44eaf0800 100644 --- a/vp8/common/threading.h +++ b/vp8/common/threading.h @@ -38,6 +38,7 @@ #define pthread_self() GetCurrentThreadId() #else #ifdef __APPLE__ +#include <mach/mach_init.h> #include <mach/semaphore.h> #include <mach/task.h> #include <time.h> diff --git a/vp8/decoder/threading.c b/vp8/decoder/threading.c index 314a8d7fd..67e578c62 100644 --- a/vp8/decoder/threading.c +++ b/vp8/decoder/threading.c @@ -12,9 +12,6 @@ #if !defined(WIN32) && CONFIG_OS_SUPPORT == 1 # include <unistd.h> #endif -#ifdef __APPLE__ -#include <mach/mach_init.h> -#endif #include "onyxd_int.h" #include "vpx_mem/vpx_mem.h" #include "vp8/common/threading.h" |