Fix mac sdk build.

Add include files for types and functions that were not included properly.

Change-Id: I4849f5bdf535c6eec9254228cf980c30d11a5a1b
This commit is contained in:
Christopher Ferris 2015-03-23 21:35:56 -07:00
parent c31de5011a
commit fc3576f675
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>