: I have compiled the examples source in MacOX 10.5.5 with Intel C plus plus compiler 10.1, and met "Missing headfile malloc.h" problem in Chapter6.Reason
: someone said, Apple put malloc.h in different place
. Actually it was expecting it to be in the /usr/include directory, when it was actually in the /usr/include/malloc directory.Possible Solution
: edit the source code, 1)remove or comment #include <malloc.h>
or 2) change it to #include <malloc/malloc.h>
hope this help.
James (Xinhua) Lin