Building Chimera under Darwin

From Organic Design wiki

There isn't any mention in the docs about the use of Chimera under Mac OS X. Here is the result of my attempt to build it.

Error:

log.c:14: error: parse error before '&' token

log.c:14
extern FILE *stdin;

This seems like a standard macro, so not sure why it's not working.