From: John Koleszar Date: Thu, 29 Jul 2010 21:04:39 +0000 (-0400) Subject: apple: include proper mach primatives X-Git-Tag: v0.9.2~49 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=38a20e030f442fb8dfa1e596c98500bd35919e6f;p=libvpx apple: include proper mach primatives Fixes implicit declaration warning for 'mach_task_self'. Patch courtesy of timeless at gmail.com Change-Id: I9991dedd1ccfddc092eca86705ecbc3b764b799d --- 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"