From 4ebc9be9cd1f7c2477ebe590aaa6255be2a1eca1 Mon Sep 17 00:00:00 2001 From: hansr Date: Mon, 13 Oct 2014 13:14:33 +0200 Subject: Fix compilation of test/infcover.c on linux --- test/infcover.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test') diff --git a/test/infcover.c b/test/infcover.c index fe3d9203a0..0e582ac697 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 -- */ /* -- cgit 0.0.5-2-1-g0f52