commit | 589e2e720c5dac61e59d5d70f3d4219384f91b87 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Thu Oct 25 15:52:54 2018 -0700 |
committer | android-build-merger <android-build-merger@google.com> | Thu Oct 25 15:52:54 2018 -0700 |
tree | 555c694e0d9832f2931dabb71a700f886a0899ec | |
parent | 2d02b50b9b56e07acb9b699da3c5b1e5ee114057 [diff] | |
parent | 4aecbd0aac13a67c1fd3e19939a66bca0264a5f3 [diff] |
Merge "libbase: quick fix for Mac build." am: 602f9a29b0 am: 4aecbd0aac Change-Id: I9d28592383bab531bb5634a10c6c15a0b1dade45
diff --git a/base/include/android-base/mapped_file.h b/base/include/android-base/mapped_file.h index 52d11ed..667ba7e 100644 --- a/base/include/android-base/mapped_file.h +++ b/base/include/android-base/mapped_file.h
@@ -16,6 +16,11 @@ #pragma once +#if __APPLE__ +/* Temporary Mac build fix for off64_t. TODO: refactor into `portability.h`. */ +#include "android-base/file.h" +#endif + #include "android-base/macros.h" #include <sys/types.h>