--- sal/osl/unx/file_stat.cxx 20 Feb 2003 17:58:46 -0000 1.1.4.2 +++ sal/osl/unx/file_stat.cxx 4 Apr 2003 02:20:36 -0000 @@ -321,8 +321,12 @@ oslFileError osl_error = setup_osl_getFileStatus(Item, pStat, file_path); if (osl_File_E_None != osl_error) return osl_error; - - struct stat file_stat; + +#if defined(__GNUC__) && (__GNUC__ < 3) + struct ::stat file_stat; +#else + struct stat file_stat; +#endif if (is_stat_call_necessary(uFieldMask) && (0 != osl::lstat(file_path, file_stat))) return oslTranslateFileError(OSL_FET_ERROR, errno);