<malloc.h> is non-standard, not present on all systems (notably Mac OS X),