]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Fix compilation when LZO is not available
authorEric Bollengier <eric@baculasystems.com>
Fri, 15 Oct 2021 09:13:32 +0000 (11:13 +0200)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:56:56 +0000 (13:56 +0200)
bacula/src/filed/backup.h

index cdbc4fd8722356c227cb18f0dc57da247c7b19b5..3db71ddb7d513e2e5d8132242dfc70672e34bc83 100644 (file)
@@ -64,7 +64,7 @@ struct bctx_t {
    unsigned char *cbuf;
    unsigned char *cbuf2;
 
-#ifdef HAVE_LZO
+#if defined(HAVE_LZO) || defined(HAVE_ZSTD)
    comp_stream_header ch;
 #endif