Building on MacOS X 10.6.2 (but I had the same problem on 10.5.8 - unresolved at the time), I get the errors:
In file included from main.c:49:
/usr/include/ncurses.h:539:40: error: macro "cbreak" passed 1 arguments, but takes just 0
/usr/include/ncurses.h:564:44: error: macro "erasechar" passed 1 arguments, but takes just 0
/usr/include/ncurses.h:600:43: error: macro "killchar" passed 1...
2009-11-30 19:30:15 UTC in cscope