summaryrefslogtreecommitdiffstats
path: root/applypatch/include
diff options
context:
space:
mode:
authorAlex Deymo <deymo@google.com>2017-10-10 17:56:17 +0200
committerAlex Deymo <deymo@google.com>2017-10-24 14:00:31 +0200
commitfa188268e43ab75732a480d6b2ec748d9d0dbfae (patch)
tree9498a723d8c244df87b8fccff1b2fb3df1873ebd /applypatch/include
parentMerge "applypatch: Forward declare struct Value." (diff)
downloadandroid_bootable_recovery-fa188268e43ab75732a480d6b2ec748d9d0dbfae.tar
android_bootable_recovery-fa188268e43ab75732a480d6b2ec748d9d0dbfae.tar.gz
android_bootable_recovery-fa188268e43ab75732a480d6b2ec748d9d0dbfae.tar.bz2
android_bootable_recovery-fa188268e43ab75732a480d6b2ec748d9d0dbfae.tar.lz
android_bootable_recovery-fa188268e43ab75732a480d6b2ec748d9d0dbfae.tar.xz
android_bootable_recovery-fa188268e43ab75732a480d6b2ec748d9d0dbfae.tar.zst
android_bootable_recovery-fa188268e43ab75732a480d6b2ec748d9d0dbfae.zip
Diffstat (limited to 'applypatch/include')
-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 491043dc1..4e915e5e7 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;