]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Fix compilation with --solo and --debug combined.
authorMark Adler <madler@alumni.caltech.edu>
Tue, 3 Jan 2017 02:18:31 +0000 (18:18 -0800)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Wed, 9 Jan 2019 14:11:53 +0000 (15:11 +0100)
However this ends up not really being solo, since it has to
include external libraries.

zutil.c

diff --git a/zutil.c b/zutil.c
index 84720e6c962b1d7884a986384e1a5714a6021d7d..4373586bd77b5db349bffbec6f1925015ab8e5cb 100644 (file)
--- a/zutil.c
+++ b/zutil.c
@@ -96,7 +96,7 @@ unsigned long ZEXPORT PREFIX(zlibCompileFlags)(void)
 }
 
 #ifdef ZLIB_DEBUG
-
+#include <stdlib.h>
 #  ifndef verbose
 #    define verbose 0
 #  endif