]> git.lizzy.rs Git - zlib.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)
committerMark Adler <madler@alumni.caltech.edu>
Tue, 3 Jan 2017 02:21:29 +0000 (18:21 -0800)
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 3b4d90451f07ef147b33dd8b3ea85cb2f27ea6aa..56534fba0ff86c297365df42c23173da19a1d96d 100644 (file)
--- a/zutil.c
+++ b/zutil.c
@@ -113,7 +113,7 @@ uLong ZEXPORT zlibCompileFlags()
 }
 
 #ifdef ZLIB_DEBUG
-
+#include <stdlib.h>
 #  ifndef verbose
 #    define verbose 0
 #  endif