Don't include malloc.h, just use stdlib.h to get malloc's prototype.