diff options
author | John Koleszar <jkoleszar@google.com> | 2010-07-29 17:04:39 -0400 |
---|---|---|
committer | John Koleszar <jkoleszar@google.com> | 2010-07-29 17:04:44 -0400 |
commit | 38a20e030f442fb8dfa1e596c98500bd35919e6f (patch) | |
tree | 1529c18f897cde5f50017b69dd70c8da92b3888f /vp8/decoder/threading.c | |
parent | c2a8d8b54c7ebefd1cd9c55f53b9e8378f088e8b (diff) | |
download | libvpx-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.c | 3 |
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" |