diff options
author | Dan Albert <danalbert@google.com> | 2015-03-23 16:38:34 -0700 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2015-03-23 16:38:46 -0700 |
commit | 483060208c11ba9507040eefe0243424030b1454 (patch) | |
tree | c455a4a47221dc432178971d1e4a998b973ad731 /libcutils | |
parent | 89996c4b74c438bd426710ff52139893aa39514c (diff) | |
download | system_core-483060208c11ba9507040eefe0243424030b1454.tar.gz system_core-483060208c11ba9507040eefe0243424030b1454.tar.bz2 system_core-483060208c11ba9507040eefe0243424030b1454.zip |
More Mac fix.
Change-Id: I7a1f726819c68eea1afb7e45f92954325f8933e1
Diffstat (limited to 'libcutils')
-rw-r--r-- | libcutils/threads.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcutils/threads.c b/libcutils/threads.c index d90161951..940044199 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> |