From: hansr Date: Mon, 13 Oct 2014 11:14:33 +0000 (+0200) Subject: Fix compilation of test/infcover.c on linux X-Git-Tag: 1.9.9-b1~919 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ebc9be9cd1f7c2477ebe590aaa6255be2a1eca1;p=thirdparty%2Fzlib-ng.git Fix compilation of test/infcover.c on linux --- diff --git a/test/infcover.c b/test/infcover.c index fe3d9203a..0e582ac69 100644 --- a/test/infcover.c +++ b/test/infcover.c @@ -19,6 +19,12 @@ #define local static +/* reallocf is BSD-specific */ +#ifndef reallocf +# define reallocf realloc +#endif + + /* -- memory tracking routines -- */ /*