aboutsummaryrefslogtreecommitdiffstats
path: root/applypatch/imgdiff.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-10-13 14:54:12 -0700
committerTao Bao <tbao@google.com>2017-10-16 11:28:18 -0700
commit45685820029fb191fe8509418df91a049227ea3a (patch)
tree4507a0c3c6de9d6106d3521e3aba46fb0b72c083 /applypatch/imgdiff.cpp
parentb4a8c6abd9a434c3494162b197cf4278179f4f68 (diff)
downloadandroid_bootable_recovery-45685820029fb191fe8509418df91a049227ea3a.tar.gz
android_bootable_recovery-45685820029fb191fe8509418df91a049227ea3a.tar.bz2
android_bootable_recovery-45685820029fb191fe8509418df91a049227ea3a.zip
otautil: Move RangeSet implementation into rangeset.cpp.
Since it has grown much larger, users of the header shouldn't compile and carry their full copies. Also add missing header includes in imgdiff.cpp and imgdiff_test.cpp. Test: mmma bootable/recovery Test: recovery_unit_test; recovery_component_test; recovery_host_test Change-Id: I88ca54171765e5606ab0d61580fbc1ada578fd7d
Diffstat (limited to 'applypatch/imgdiff.cpp')
-rw-r--r--applypatch/imgdiff.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/applypatch/imgdiff.cpp b/applypatch/imgdiff.cpp
index 3a61a7d0..69ad75f3 100644
--- a/applypatch/imgdiff.cpp
+++ b/applypatch/imgdiff.cpp
@@ -160,6 +160,8 @@
#include <android-base/logging.h>
#include <android-base/memory.h>
#include <android-base/parseint.h>
+#include <android-base/stringprintf.h>
+#include <android-base/strings.h>
#include <android-base/unique_fd.h>
#include <bsdiff.h>
#include <ziparchive/zip_archive.h>