From 38a20e030f442fb8dfa1e596c98500bd35919e6f Mon Sep 17 00:00:00 2001 From: John Koleszar Date: Thu, 29 Jul 2010 17:04:39 -0400 Subject: [PATCH] apple: include proper mach primatives Fixes implicit declaration warning for 'mach_task_self'. Patch courtesy of timeless at gmail.com Change-Id: I9991dedd1ccfddc092eca86705ecbc3b764b799d --- vp8/decoder/threading.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vp8/decoder/threading.c b/vp8/decoder/threading.c index 752081ea9..8f4e9da46 100644 --- a/vp8/decoder/threading.c +++ b/vp8/decoder/threading.c @@ -12,6 +12,9 @@ #ifndef WIN32 # include #endif +#ifdef __APPLE__ +#include +#endif #include "onyxd_int.h" #include "vpx_mem/vpx_mem.h" #include "threading.h" -- 2.40.0