diff options
Diffstat (limited to 'updater/install.cpp')
-rw-r--r-- | updater/install.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/updater/install.cpp b/updater/install.cpp index 6b15eaa3a..c82351ec4 100644 --- a/updater/install.cpp +++ b/updater/install.cpp @@ -53,7 +53,6 @@ #include <openssl/sha.h> #include <selinux/label.h> #include <selinux/selinux.h> -#include <tune2fs.h> #include <ziparchive/zip_archive.h> #include "edify/expr.h" @@ -65,6 +64,10 @@ #include "otautil/print_sha1.h" #include "otautil/sysutil.h" +#ifndef __ANDROID__ +#include <cutils/memory.h> // for strlcpy +#endif + static bool UpdateBlockDeviceNameForPartition(UpdaterInterface* updater, Partition* partition) { CHECK(updater); std::string name = updater->FindBlockDeviceName(partition->name); |