[PATCH] Fix spurious failure of AC_STAT64 test

Andreas Schwab schwab at linux-m68k.org
Tue Jan 26 23:51:01 UTC 2010


"Dmitry V. Levin" <ldv-u2l5PoMzF/Vg9hUCZPvPmw at public.gmane.org> writes:

> On Mon, Jan 25, 2010 at 11:38:09AM +0100, Andreas Schwab wrote:
>> Here is a better patch, pre-POSIX systems might need <sys/types.h>
>> before <sys/stat.h>.
>
> I suppose the proposed change fixes a real spurious failure I'm not
> aware of, but I'd like to know for sure.
> I'm sorry, but I have to repeat the same question I've already asked
> before: what is the kernel version and architecture where <asm/stat.h>
> isn't self-contained?

$ grep ino_t --include=stat.h -r arch
arch/mips/include/asm/stat.h:   ino_t           st_ino;
arch/parisc/include/asm/stat.h: ino_t           st_ino;         /* 32 bits */
arch/parisc/include/asm/stat.h: ino_t           __unused3;      /* network */
arch/parisc/include/asm/stat.h: ino_t           st_ino;         /* 32 bits */
arch/parisc/include/asm/stat.h: ino_t           __unused3;      /* network */
arch/powerpc/include/asm/stat.h:        ino_t           st_ino;
arch/sparc/include/asm/stat.h:  ino_t   st_ino;
arch/sparc/include/asm/stat.h:  ino_t           st_ino;

Andreas.

-- 
Andreas Schwab, schwab at linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




More information about the Strace-devel mailing list