summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2017-03-23 11:52:20 +0000
committerJose Fonseca <jfonseca@vmware.com>2017-04-08 08:24:55 +0100
commit038054be03e376671ae8a4b888dc98fdbfa3091d (patch)
tree91b3abd0c539d47878cbf8bb02d864ae7daea67f /cli
parent169c7ed34d238c7d92624f465de964af1c28adc0 (diff)
brotli: Update to 0.5.2.
Diffstat (limited to 'cli')
-rw-r--r--cli/CMakeLists.txt2
-rw-r--r--cli/cli_repack.cpp3
2 files changed, 3 insertions, 2 deletions
diff --git a/cli/CMakeLists.txt b/cli/CMakeLists.txt
index 0863e57f..4e3a15d6 100644
--- a/cli/CMakeLists.txt
+++ b/cli/CMakeLists.txt
@@ -41,7 +41,7 @@ add_executable (apitrace
target_link_libraries (apitrace
common
- brotli_enc_bundled
+ brotli_dec brotli_enc brotli_common
${ZLIB_LIBRARIES}
${SNAPPY_LIBRARIES}
${GETOPT_LIBRARIES}
diff --git a/cli/cli_repack.cpp b/cli/cli_repack.cpp
index 2e17cdeb..5f294283 100644
--- a/cli/cli_repack.cpp
+++ b/cli/cli_repack.cpp
@@ -24,6 +24,7 @@
**************************************************************************/
+#include <assert.h>
#include <string.h>
#include <getopt.h>
@@ -32,7 +33,7 @@
#include "cli.hpp"
-#include <brotli/enc/encode.h>
+#include <brotli/enc/compressor.h>
#include <zlib.h> // for crc32
#include "trace_file.hpp"