[systemd-devel] [PATCH] journal: build fix when LZ4 is enabled but XZ is not.

Gustavo Sverzut Barbieri gustavo.barbieri at intel.com
Thu Sep 25 14:08:02 PDT 2014


---
 src/journal/journal-file.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/journal/journal-file.h b/src/journal/journal-file.h
index da2ef3b..6b4bf0d 100644
--- a/src/journal/journal-file.h
+++ b/src/journal/journal-file.h
@@ -78,7 +78,7 @@ typedef struct JournalFile {
 
         Hashmap *chain_cache;
 
-#ifdef HAVE_XZ
+#if defined(HAVE_XZ) || defined(HAVE_LZ4)
         void *compress_buffer;
         size_t compress_buffer_size;
 #endif
-- 
2.1.0



More information about the systemd-devel mailing list