chiark / gitweb /
journal: build fix when LZ4 is enabled but XZ is not
[elogind.git] / src / journal / journal-file.h
index da2ef3b79534b95789143919a9e86657c7f7ac68..6b4bf0d5aed265b3f55822a3b7031e4744351aab 100644 (file)
@@ -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