From: Eric Bollengier Date: Tue, 22 Sep 2015 15:30:38 +0000 (+0200) Subject: Fix compilation without zlib and lzo X-Git-Tag: Release-7.4.0~218 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1a59dba821d3e101a5e28f7e85303f3dd5105fc8;p=bacula%2Fbacula Fix compilation without zlib and lzo --- 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;