Do not #include <malloc.h>, which is non-standard and not needed.