|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
From 10893a5cfa7d792ba171282c2ec46b85ed6aae0c Mon Sep 17 00:00:00 2001
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
From: Gustavo Sverzut Barbieri <gustavo.barbieri@intel.com>
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
Date: Thu, 25 Sep 2014 18:08:02 -0300
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
Subject: [PATCH] journal: build fix when LZ4 is enabled but XZ is not
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
---
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
src/journal/journal-file.h | 2 +-
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
diff --git a/src/journal/journal-file.h b/src/journal/journal-file.h
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
index da2ef3b795..6b4bf0d5ae 100644
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
--- a/src/journal/journal-file.h
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
+++ b/src/journal/journal-file.h
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
@@ -78,7 +78,7 @@ typedef struct JournalFile {
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
Hashmap *chain_cache;
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
-#ifdef HAVE_XZ
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
+#if defined(HAVE_XZ) || defined(HAVE_LZ4)
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
void *compress_buffer;
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
size_t compress_buffer_size;
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
#endif
|