sys/stat.h should be conditionally included using the HAVE_SYS_STAT_H check from
./configure being run
Authored by: sms00 2003-12-20
Parent: [r2129]
Child: [r2131]