summaryrefslogtreecommitdiff
path: root/src/crashlog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/crashlog.cpp')
-rw-r--r--src/crashlog.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/crashlog.cpp b/src/crashlog.cpp
index ce17ea556..5d0cc4427 100644
--- a/src/crashlog.cpp
+++ b/src/crashlog.cpp
@@ -166,6 +166,9 @@ char *CrashLog::LogConfiguration(char *buffer, const char *last) const
#ifdef WITH_ICU
# include <unicode/uversion.h>
#endif /* WITH_ICU */
+#ifdef WITH_LZMA
+# include <lzma.h>
+#endif
#ifdef WITH_LZO
#include <lzo/lzo1x.h>
#endif
@@ -208,6 +211,10 @@ char *CrashLog::LogLibraries(char *buffer, const char *last) const
buffer += seprintf(buffer, last, " ICU: %s\n", buf);
#endif /* WITH_ICU */
+#ifdef WITH_LZMA
+ buffer += seprintf(buffer, last, " LZMA: %s\n", lzma_version_string());
+#endif
+
#ifdef WITH_LZO
buffer += seprintf(buffer, last, " LZO: %s\n", lzo_version_string());
#endif