commit | 367d319f25617c5331ade7ec1641d2b5329f63e8 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Thu Oct 25 10:23:55 2018 -0700 |
committer | Elliott Hughes <enh@google.com> | Thu Oct 25 10:23:55 2018 -0700 |
tree | 2bc7f12e487a3f1c95d629360b2d99e2ebd275a2 | |
parent | 993e11132320371d923b79b416f460228d725242 [diff] |
libbase: quick fix for Mac build. I'll come back for the better fix later... Bug: N/A Test: builds Change-Id: I967c2436cf5816cf9a0edcd3f04f307969e48bcb
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>