From 471d496cbe07aed07d7cd98ebe9b204afb14f935 Mon Sep 17 00:00:00 2001 From: Nebuleon Date: Wed, 29 Jan 2014 08:55:41 +0000 Subject: [PATCH] miniunz.c: Guard Z_BZIP2ED with #ifdef HAVE_BZIP2 --- unzip/miniunz.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/unzip/miniunz.c b/unzip/miniunz.c index b5bc8b54..db1ddd4f 100644 --- a/unzip/miniunz.c +++ b/unzip/miniunz.c @@ -215,11 +215,13 @@ int do_list(uf) else if ((iLevel==2) || (iLevel==3)) string_method="Defl:F"; /* 2:fast , 3 : extra fast*/ } +#ifdef HAVE_BZIP2 else if (file_info.compression_method==Z_BZIP2ED) { string_method="BZip2 "; } +#endif else string_method="Unkn. ";