tested with Watcom C 11.0
problems with opendir() in Watcom C 10.0
