commit | 4aecbd0aac13a67c1fd3e19939a66bca0264a5f3 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Thu Oct 25 15:47:34 2018 -0700 |
committer | android-build-merger <android-build-merger@google.com> | Thu Oct 25 15:47:34 2018 -0700 |
tree | 26ed5085be762103c4be5ca48636cd6bbd5f4151 | |
parent | 5d8bf1122359cca6ad4d6cdecef77bf57e6a5be6 [diff] | |
parent | 602f9a29b0e94a9e09520ba9a98f3cf3c65bdfca [diff] |
Merge "libbase: quick fix for Mac build." am: 602f9a29b0 Change-Id: Iffc5fbc102efb9e4a427b5c06595baa51b9a6394
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>