summaryrefslogtreecommitdiff
path: root/patch_writer.cc
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2017-10-13 15:10:58 -0700
committerTianjie Xu <xunchang@google.com>2017-10-26 14:50:34 -0700
commit6528812247bf9be1b9ccf4560b798d3e12fd36ba (patch)
tree56faf135b668f49c1539a6a5038e170a23f1b705 /patch_writer.cc
parent2991153473fdacff2437e1c8367cd224042db29c (diff)
downloadbsdiff-6528812247bf9be1b9ccf4560b798d3e12fd36ba.tar.gz
Add an interface for bspatch reader
Add a wrapper class to separate the patch read from data stream decompression. Therefore, bspatch will be able to process the patch that is compressed with various tools. Test: unittest pass Change-Id: I5214e0451bde80366e8a70b960703afb2b2a7d97
Diffstat (limited to 'patch_writer.cc')
-rw-r--r--patch_writer.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/patch_writer.cc b/patch_writer.cc
index 4b6abbb..e6eb8ad 100644
--- a/patch_writer.cc
+++ b/patch_writer.cc
@@ -6,6 +6,7 @@
#include <string.h>
+#include "bsdiff/control_entry.h"
#include "bsdiff/logging.h"
using std::endl;