Thread (100 messages) 100 messages, 4 authors, 2022-01-13
STALE1719d

[PATCH 3/4] fixup! Provide zlib's uncompress2 from compat/zlib-compat.c

From: Carlo Marcelo Arenas Belón <hidden>
Date: 2021-09-08 07:46:33
Subsystem: the rest · Maintainer: Linus Torvalds

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 <redacted>
---
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help