diff options
| author | Elliott Hughes <enh@google.com> | 2018-10-25 10:23:55 -0700 |
|---|---|---|
| committer | Elliott Hughes <enh@google.com> | 2018-10-25 10:23:55 -0700 |
| commit | 985438653de65982c2ac836a8033ec79b1f21f75 (patch) | |
| tree | 2bc7f12e487a3f1c95d629360b2d99e2ebd275a2 /base | |
| parent | 48a0e186a7f5ecad06bc0929fd86fda3416cf740 (diff) | |
| download | system_core-985438653de65982c2ac836a8033ec79b1f21f75.tar.gz system_core-985438653de65982c2ac836a8033ec79b1f21f75.tar.bz2 system_core-985438653de65982c2ac836a8033ec79b1f21f75.zip | |
libbase: quick fix for Mac build.
I'll come back for the better fix later...
Bug: N/A
Test: builds
Change-Id: I967c2436cf5816cf9a0edcd3f04f307969e48bcb
Diffstat (limited to '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> |
