Thanks for advising us, though I had to change your 4th line to:
#include <sys malloc.h=""> [wait, where did the slash go after "sys"?]
and got a lot of warnings in the make process.
Hope it all works.
Kind of surprising this hasn't been incorporated in the package. </sys>
Last edit: Rob Lewis 2015-05-18
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
ifndef __DARWIN_UNIX03
include <malloc.h></malloc.h>
else
include <sys malloc.h=""></sys>
endif
Thanks for advising us, though I had to change your 4th line to:
#include <sys malloc.h=""> [wait, where did the slash go after "sys"?]
and got a lot of warnings in the make process.
Hope it all works.
Kind of surprising this hasn't been incorporated in the package. </sys>
Last edit: Rob Lewis 2015-05-18
No, don't include malloc.h or sys/malloc.h on any system. On all systems, include stdlib.h.