diff options
| author | Treehugger Robot <treehugger-gerrit@google.com> | 2018-10-25 22:37:30 +0000 |
|---|---|---|
| committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-10-25 22:37:30 +0000 |
| commit | 602f9a29b0e94a9e09520ba9a98f3cf3c65bdfca (patch) | |
| tree | 26ed5085be762103c4be5ca48636cd6bbd5f4151 /base/include/android-base | |
| parent | 91061cc8231d4889ef8098ac9d3aa6646f20d382 (diff) | |
| parent | 985438653de65982c2ac836a8033ec79b1f21f75 (diff) | |
| download | system_core-602f9a29b0e94a9e09520ba9a98f3cf3c65bdfca.tar.gz system_core-602f9a29b0e94a9e09520ba9a98f3cf3c65bdfca.tar.bz2 system_core-602f9a29b0e94a9e09520ba9a98f3cf3c65bdfca.zip | |
Merge "libbase: quick fix for Mac build."
Diffstat (limited to 'base/include/android-base')
| -rw-r--r-- | base/include/android-base/mapped_file.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/base/include/android-base/mapped_file.h b/base/include/android-base/mapped_file.h index 52d11eda9..667ba7eaf 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> |
