* add #includes to pull in missing prototypes, as pointed out by gcc4* fix CFLAGS syntax for make dependok blambert@
Add regression tests for stdio threading. Originally by blambert withsome further hacking by me