You can't just use malloc.h unconditionally - it does not exist everywhere.
Added it to the check headers and create a HAVE_MALLOC_H that can be tested.
Authored by: sms00 2003-12-17
Parent: [r2120]
Child: [r2122]