summaryrefslogtreecommitdiffstats
path: root/applypatch/include/applypatch/imgdiff_image.h
diff options
context:
space:
mode:
authorAlex Deymo <deymo@google.com>2017-10-24 19:37:00 +0200
committerandroid-build-merger <android-build-merger@google.com>2017-10-24 19:37:00 +0200
commit68146a0515631adcc4c2920861e455fc84205575 (patch)
tree2e38fdbe24cdb9ce011cc19e6a0396cabd9d9993 /applypatch/include/applypatch/imgdiff_image.h
parentMerge "libdrm_platform is now libdrm" am: d830858952 am: 3b4e2ebf2c (diff)
parentMerge "Use SuffixArrayIndexInterface opaque type instead of the underlying data pointer." am: 3d24b7bca6 (diff)
downloadandroid_bootable_recovery-68146a0515631adcc4c2920861e455fc84205575.tar
android_bootable_recovery-68146a0515631adcc4c2920861e455fc84205575.tar.gz
android_bootable_recovery-68146a0515631adcc4c2920861e455fc84205575.tar.bz2
android_bootable_recovery-68146a0515631adcc4c2920861e455fc84205575.tar.lz
android_bootable_recovery-68146a0515631adcc4c2920861e455fc84205575.tar.xz
android_bootable_recovery-68146a0515631adcc4c2920861e455fc84205575.tar.zst
android_bootable_recovery-68146a0515631adcc4c2920861e455fc84205575.zip
Diffstat (limited to 'applypatch/include/applypatch/imgdiff_image.h')
-rw-r--r--applypatch/include/applypatch/imgdiff_image.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/applypatch/include/applypatch/imgdiff_image.h b/applypatch/include/applypatch/imgdiff_image.h
index 3d29547cb..00a84f3a9 100644
--- a/applypatch/include/applypatch/imgdiff_image.h
+++ b/applypatch/include/applypatch/imgdiff_image.h
@@ -24,7 +24,7 @@
#include <string>
#include <vector>
-#include <bsdiff.h>
+#include <bsdiff/bsdiff.h>
#include <ziparchive/zip_archive.h>
#include <zlib.h>
@@ -98,7 +98,8 @@ class ImageChunk {
* repeatedly, pass nullptr if not needed.
*/
static bool MakePatch(const ImageChunk& tgt, const ImageChunk& src,
- std::vector<uint8_t>* patch_data, saidx_t** bsdiff_cache);
+ std::vector<uint8_t>* patch_data,
+ bsdiff::SuffixArrayIndexInterface** bsdiff_cache);
private:
const uint8_t* GetRawData() const;