shithub: libvpx

Download patch

ref: 38a20e030f442fb8dfa1e596c98500bd35919e6f
parent: c2a8d8b54c7ebefd1cd9c55f53b9e8378f088e8b
author: John Koleszar <jkoleszar@google.com>
date: Thu Jul 29 13:04:39 EDT 2010

apple: include proper mach primatives

Fixes implicit declaration warning for 'mach_task_self'.

Patch courtesy of timeless at gmail.com

Change-Id: I9991dedd1ccfddc092eca86705ecbc3b764b799d

--- a/vp8/decoder/threading.c
+++ b/vp8/decoder/threading.c
@@ -12,6 +12,9 @@
 #ifndef WIN32
 # include <unistd.h>
 #endif
+#ifdef __APPLE__
+#include <mach/mach_init.h>
+#endif
 #include "onyxd_int.h"
 #include "vpx_mem/vpx_mem.h"
 #include "threading.h"