summaryrefslogtreecommitdiff
path: root/vp8/decoder/threading.c
diff options
context:
space:
mode:
authorJohn Koleszar <jkoleszar@google.com>2010-07-29 17:04:39 -0400
committerJohn Koleszar <jkoleszar@google.com>2010-07-29 17:04:44 -0400
commit38a20e030f442fb8dfa1e596c98500bd35919e6f (patch)
tree1529c18f897cde5f50017b69dd70c8da92b3888f /vp8/decoder/threading.c
parentc2a8d8b54c7ebefd1cd9c55f53b9e8378f088e8b (diff)
downloadlibvpx-38a20e030f442fb8dfa1e596c98500bd35919e6f.tar.gz
apple: include proper mach primatives
Fixes implicit declaration warning for 'mach_task_self'. Patch courtesy of timeless at gmail.com Change-Id: I9991dedd1ccfddc092eca86705ecbc3b764b799d
Diffstat (limited to 'vp8/decoder/threading.c')
-rw-r--r--vp8/decoder/threading.c3
1 files changed, 3 insertions, 0 deletions
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 <unistd.h>
#endif
+#ifdef __APPLE__
+#include <mach/mach_init.h>
+#endif
#include "onyxd_int.h"
#include "vpx_mem/vpx_mem.h"
#include "threading.h"