From 786c2f33665ecd7056ae62833320fbe72ebb217c Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Thu, 21 Dec 2006 12:53:48 +0000 Subject: [PATCH] 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 --- bacula/src/filed/restore.c | 2 ++ 1 file changed, 2 insertions(+) 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) { -- 2.39.5