am bdabcf4c: am 730d7c53: am 8e1697e7: Merge "Fix mac sdk build."

* commit 'bdabcf4c8bd7c9b5b29e2d3af07a5fb0e2733823':
  Fix mac sdk build.
This commit is contained in:
Christopher Ferris 2015-03-24 05:20:50 +00:00 committed by Android Git Automerger
commit ad27dd98ae
2 changed files with 3 additions and 0 deletions

View File

@ -32,6 +32,7 @@ extern "C" {
#if !defined(_WIN32)
#include <pthread.h>
#include <sys/types.h>
typedef struct {
pthread_mutex_t lock;

View File

@ -21,6 +21,8 @@
// For gettid.
#if defined(__APPLE__)
#include "AvailabilityMacros.h" // For MAC_OS_X_VERSION_MAX_ALLOWED
#include <stdint.h>
#include <stdlib.h>
#include <sys/syscall.h>
#include <sys/time.h>
#include <unistd.h>