From dfec26e7ded987620e5b8e2eb88c4b02d479fdca Mon Sep 17 00:00:00 2001 From: Kenny Root Date: Thu, 19 Sep 2013 10:29:16 -0700 Subject: [PATCH] Fix mac sdk build Macs don't have off64_t and instead use loff_t. This is taken care of in the Compat.h header from system/core. Include that. Bug: 10424836 Change-Id: Ic892e1edfecab502159209d463394864370c5537 --- libdex/ZipArchive.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libdex/ZipArchive.cpp b/libdex/ZipArchive.cpp index 77d387ee3..f70a5dfbd 100644 --- a/libdex/ZipArchive.cpp +++ b/libdex/ZipArchive.cpp @@ -28,6 +28,7 @@ #include #include // TEMP_FAILURE_RETRY may or may not be in unistd +#include // For off64_t and lseek64 on Mac #ifndef O_BINARY #define O_BINARY 0 -- 2.11.0