]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Fix infcover.c build
authorIlya Leoshkevich <iii@linux.ibm.com>
Tue, 26 Mar 2019 12:30:51 +0000 (13:30 +0100)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Thu, 2 May 2019 13:55:08 +0000 (15:55 +0200)
infcover.c includes inflate.h, which makes use of PREFIX3 macro. This
macro is defined in zbuild.h, which is not included.

test/infcover.c

index 9f2d33dc44cd40a185745c5298e0c55ac58c349f..2b8ff974a3d1eb5eb1f30ed2dbd43543e13c75b2 100644 (file)
@@ -14,6 +14,7 @@
 /* get definition of internal structure so we can mess with it (see pull()),
    and so we can call inflate_trees() (see cover5()) */
 #define ZLIB_INTERNAL
+#include "zbuild.h"
 #include "inftrees.h"
 #include "inflate.h"