Include stdlib.h rather than malloc.h