From: Carlo Marcelo Arenas Belón Date: Wed, 08 Sep 2021 07:45:56 GMT Subject: [PATCH 3/4] fixup! Provide zlib's uncompress2 from compat/zlib-compat.c Message-ID: <20210908074557.38141-4-carenas@gmail.com> In-Reply-To: <20210908074557.38141-1-carenas@gmail.com> while at it, make sure z_conf is defined to null (usually coming from zconf.h, but optional and otherwise to fail with older zlib versions) Signed-off-by: Carlo Marcelo Arenas Belón --- compat/zlib-uncompress2.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/compat/zlib-uncompress2.c b/compat/zlib-uncompress2.c index 23b72b49c4..722610b971 100644 --- a/compat/zlib-uncompress2.c +++ b/compat/zlib-uncompress2.c @@ -8,6 +8,9 @@ */ +#include "../reftable/system.h" +#define z_const + /* * Copyright (C) 1995-2003, 2010, 2014, 2016 Jean-loup Gailly, Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h -- 2.33.0.481.g26d3bed244