summaryrefslogtreecommitdiffstats
path: root/base/bzip2_error_handler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/bzip2_error_handler.cc')
-rw-r--r--base/bzip2_error_handler.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/base/bzip2_error_handler.cc b/base/bzip2_error_handler.cc
index 2774627..7556cb9 100644
--- a/base/bzip2_error_handler.cc
+++ b/base/bzip2_error_handler.cc
@@ -31,6 +31,7 @@
// We define BZ_NO_STDIO in third_party/bzip2 to remove its internal STDERR
// error reporting. This requires us to export our own error handler.
+extern "C"
void bz_internal_error(int errcode) {
CHECK(false) << "bzip2 internal error: " << errcode;
}