It looks like I don't need malloc.h on Linux if I have stdlib.h, so I'll make that change.
The other errors are because the OS/X version of 'time' doesn't have the '-o' option that Linux does.
If you change "/usr/bin/time -o .time" in "dotest" to "/usr/bin/time 2> .time", it might work, but if OS/X doesn't understand the "-f" arg either you will need more serious surgery.
NeilBrown
