summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <gustavo.barbieri@intel.com>2014-09-25 18:08:02 -0300
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-09-25 18:19:03 -0400
commit10893a5cfa7d792ba171282c2ec46b85ed6aae0c (patch)
tree6144278f226c01200ad63045d761ef3bec3c2ec9
parentdd87b1840c966fd25b81a7aa1071e8488c624db8 (diff)
journal: build fix when LZ4 is enabled but XZ is not
-rw-r--r--src/journal/journal-file.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journal-file.h b/src/journal/journal-file.h
index da2ef3b795..6b4bf0d5ae 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