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 <carenas@xxxxxxxxx> --- 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