[systemd-devel] [PATCH] journal: build fix when LZ4 is enabled but XZ is not.
Zbigniew Jędrzejewski-Szmek
zbyszek at in.waw.pl
Thu Sep 25 14:27:47 PDT 2014
On Thu, Sep 25, 2014 at 06:08:02PM -0300, Gustavo Sverzut Barbieri wrote:
> ---
> 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
Thanks, applied.
Zbyszek
More information about the systemd-devel
mailing list