diff options
author | Alex Deymo | 2017-11-08 05:26:44 -0600 |
---|---|---|
committer | Alex Deymo | 2017-11-08 05:29:58 -0600 |
commit | 3afe5f56916302784b428d027ad138359d832dbd (patch) | |
tree | 84a2cdb644433a5a889af21c67fe9cf05034f017 | |
parent | 16b8b8fd1cf9055c9206ddfced90847b21acc340 (diff) | |
download | platform-bootable-recovery-3afe5f56916302784b428d027ad138359d832dbd.tar.gz platform-bootable-recovery-3afe5f56916302784b428d027ad138359d832dbd.tar.xz platform-bootable-recovery-3afe5f56916302784b428d027ad138359d832dbd.zip |
Include bspatch.h from bsdiff/
The function ApplyBSDiffPatch() defined in bspatch.cpp is declared in
applypatch.h, but it includes "bspatch.h" from the bsdiff/ project,
which is at least confusing. There is no "bspatch.h" in this repo, so
the include actually reffers to the one in bsdiff. This patch uses the
"bsdiff/bspatch.h" form instead to avoid confusion.
Bug: None
Test: It builds.
Change-Id: I6b6ffd6725b2b34ff644aed93683f69779103661
-rw-r--r-- | applypatch/bspatch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applypatch/bspatch.cpp b/applypatch/bspatch.cpp index c291464a..db2ce089 100644 --- a/applypatch/bspatch.cpp +++ b/applypatch/bspatch.cpp | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <string> | 26 | #include <string> |
27 | 27 | ||
28 | #include <android-base/logging.h> | 28 | #include <android-base/logging.h> |
29 | #include <bspatch.h> | 29 | #include <bsdiff/bspatch.h> |
30 | #include <openssl/sha.h> | 30 | #include <openssl/sha.h> |
31 | 31 | ||
32 | #include "applypatch/applypatch.h" | 32 | #include "applypatch/applypatch.h" |