summaryrefslogtreecommitdiffstats
path: root/include/cutils
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2015-03-23 21:35:56 -0700
committerChristopher Ferris <cferris@google.com>2015-03-23 21:40:30 -0700
commitfc3576f675185281ae868e40d8cd2ddb7c7a45a0 (patch)
treefdc23ecf6fac69b3bb9720608a2fe0a5a7575856 /include/cutils
parentc31de5011a2b73af04d9e85dca863352458104ca (diff)
downloadsystem_core-fc3576f675185281ae868e40d8cd2ddb7c7a45a0.zip
system_core-fc3576f675185281ae868e40d8cd2ddb7c7a45a0.tar.gz
system_core-fc3576f675185281ae868e40d8cd2ddb7c7a45a0.tar.bz2
Fix mac sdk build.
Add include files for types and functions that were not included properly. Change-Id: I4849f5bdf535c6eec9254228cf980c30d11a5a1b
Diffstat (limited to 'include/cutils')
-rw-r--r--include/cutils/threads.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/cutils/threads.h b/include/cutils/threads.h
index bb9fdb8..3133cdb 100644
--- a/include/cutils/threads.h
+++ b/include/cutils/threads.h
@@ -32,6 +32,7 @@ extern "C" {
#if !defined(_WIN32)
#include <pthread.h>
+#include <sys/types.h>
typedef struct {
pthread_mutex_t lock;