* include/sys/stat.h (struct stat): Guard with _NO_OLDNAMES.
	* include/wchar.h (struct stat): Likwwise.
	Bug reported to Debian by Anand Kumria  <wildfire@progsoc.org>

	* include/sys/stat.h: Remove empty __STRICT_ANSI__ guard.
This commit is contained in:
Danny Smith
2005-02-07 20:18:08 +00:00
parent a694f07970
commit e693472b16
3 changed files with 14 additions and 2 deletions

View File

@ -386,6 +386,8 @@ struct _stat
time_t st_ctime; /* Creation time */
};
#ifndef _NO_OLDNAMES
/* NOTE: Must be the same as _stat above. */
struct stat
{
_dev_t st_dev; /* Equivalent to drive number 0=A 1=B ... */
@ -401,6 +403,7 @@ struct stat
time_t st_mtime; /* Modified time */
time_t st_ctime; /* Creation time */
};
#endif /* _NO_OLDNAMES */
#if defined (__MSVCRT__)
struct _stati64 {