Mac OS-X seems to keep malloc.h in malloc/malloc.h. 

This quick hack makes everything compile on Mac OS-X.  I've run two of the tests and they seem to work. YMMV.