Fix: error: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Werror,-Wimplicit-function-declaration] error: implicitly declaring library function 'realloc' with type 'void *(void *, unsigned long)' [-Werror,-Wimplicit-function-declaration] error: syntax error before 'mmalloc_base' --- src/malloc.c.orig 2008-03-30 23:45:07.000000000 +0100 +++ src/malloc.c 2008-03-30 23:45:25.000000000 +0100 @@ -7,6 +7,8 @@ ************************************************************************/ static const char RCSid[] = "$Id: malloc.c,v 35004.22 2007/01/13 23:12:39 kkeys Exp $"; +#include +#include #include "tfconfig.h" #include "port.h" #include "signals.h"