]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix compilation without zlib and lzo
authorEric Bollengier <eric@baculasystems.com>
Tue, 22 Sep 2015 15:30:38 +0000 (17:30 +0200)
committerEric Bollengier <eric@baculasystems.com>
Tue, 22 Sep 2015 15:30:38 +0000 (17:30 +0200)
bacula/src/filed/backup.h

index 4ce8c1c039fc4263cce2148884882ba9c33f764c..62a229f42ba9df76b9d7ca792f223de2ee95aabe 100644 (file)
@@ -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;