commit | 483060208c11ba9507040eefe0243424030b1454 | [log] [tgz] |
---|---|---|
author | Dan Albert <danalbert@google.com> | Mon Mar 23 16:38:34 2015 -0700 |
committer | Dan Albert <danalbert@google.com> | Mon Mar 23 16:38:46 2015 -0700 |
tree | c455a4a47221dc432178971d1e4a998b973ad731 | |
parent | 89996c4b74c438bd426710ff52139893aa39514c [diff] |
More Mac fix. Change-Id: I7a1f726819c68eea1afb7e45f92954325f8933e1
diff --git a/libcutils/threads.c b/libcutils/threads.c index d901619..9400441 100644 --- a/libcutils/threads.c +++ b/libcutils/threads.c
@@ -23,6 +23,7 @@ #include "AvailabilityMacros.h" // For MAC_OS_X_VERSION_MAX_ALLOWED #include <sys/syscall.h> #include <sys/time.h> +#include <unistd.h> #elif defined(__linux__) && !defined(__ANDROID__) #include <syscall.h> #include <unistd.h>