From 1a59dba821d3e101a5e28f7e85303f3dd5105fc8 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Tue, 22 Sep 2015 17:30:38 +0200 Subject: [PATCH] Fix compilation without zlib and lzo --- bacula/src/filed/backup.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bacula/src/filed/backup.h b/bacula/src/filed/backup.h index 4ce8c1c039..62a229f42b 100644 --- a/bacula/src/filed/backup.h +++ b/bacula/src/filed/backup.h @@ -51,9 +51,10 @@ struct bctx_t { /* Compression variables */ #if defined(HAVE_LIBZ) || defined(HAVE_LZO) uLong compress_len; - uLong max_compress_len; Bytef *cbuf; Bytef *cbuf2; +#else + uint64_t max_compress_len; #endif #ifdef HAVE_LZO comp_stream_header ch; -- 2.39.5