OSDN Git Service
(root)
/
android-x86
/
dalvik.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
386a7f3
)
Fix mac sdk build
author
Kenny Root
<kroot@google.com>
Thu, 19 Sep 2013 17:29:16 +0000
(10:29 -0700)
committer
Kenny Root
<kroot@google.com>
Thu, 19 Sep 2013 17:43:15 +0000
(10:43 -0700)
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
patch
|
blob
|
history
diff --git
a/libdex/ZipArchive.cpp
b/libdex/ZipArchive.cpp
index
77d387e
..
f70a5df
100644
(file)
--- a/
libdex/ZipArchive.cpp
+++ b/
libdex/ZipArchive.cpp
@@
-28,6
+28,7
@@
#include <errno.h>
#include <JNIHelp.h> // TEMP_FAILURE_RETRY may or may not be in unistd
+#include <utils/Compat.h> // For off64_t and lseek64 on Mac
#ifndef O_BINARY
#define O_BINARY 0