From: Eric Bollengier Date: Thu, 21 Dec 2006 12:53:48 +0000 (+0000) Subject: ebl fix compilation bug by adding #ifdef HAVE_LIBZ X-Git-Tag: Release-2.0.0~77 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2e5642a91777c9369b7462e1fb78827dd67e47bc;p=bacula%2Fbacula ebl fix compilation bug by adding #ifdef HAVE_LIBZ git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3840 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/filed/restore.c b/bacula/src/filed/restore.c index 846efa4e22..e7d0f1bfde 100644 --- a/bacula/src/filed/restore.c +++ b/bacula/src/filed/restore.c @@ -742,6 +742,7 @@ ok_out: } +#ifdef HAVE_LIBZ /* * Convert ZLIB error code into an ASCII message */ @@ -767,6 +768,7 @@ static const char *zlib_strerror(int stat) return _("*none*"); } } +#endif static int do_file_digest(FF_PKT *ff_pkt, void *pkt, bool top_level) {