Your problem is quite easy to solve: libc5 was not really POSIX-compliant even when _POSIX_SOURCE was defined. S_IFDIR is the macro used by BSD and SVID while POSIX uses __S_IFDIR. If you define _BSD_SOURCE, _SVID_SOURCE or _GNU_SOURCE instead of _POSIX_SOURCE (or simply change the macro to include the __) it should compile.
Helmut -- Helmut Geyer [EMAIL PROTECTED] public PGP key available : finger [EMAIL PROTECTED] -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .