It appears that malloc/free/realloc are not declared in <malloc.h> in OS/X. Can you find out which include file does define them? Maybe just "man malloc" and it might tell you. Otherwise you might need to hunt around.
It appears that malloc/free/realloc are not declared in <malloc.h> in OS/X. Can you find out which include file does define them? Maybe just "man malloc" and it might tell you. Otherwise you might need to hunt around.