On FreeBSD, "<malloc.h> has been replaced by <stdlib.h>"