Re: [PATCH] Fix spurious failure of AC_STAT64 test

2010-01-26 Thread Dmitry V. Levin
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

Re: [PATCH] Fix spurious failure of AC_STAT64 test

2010-01-26 Thread Andreas Schwab
Dmitry V. Levin ldv-u2l5PoMzF/vg9huczpv...@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

Re: [PATCH] Fix spurious failure of AC_STAT64 test

2010-01-26 Thread Dmitry V. Levin
On Wed, Jan 27, 2010 at 12:51:01AM +0100, Andreas Schwab wrote: Dmitry V. Levin ldv-u2l5PoMzF/vg9huczpv...@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

Re: [PATCH] Fix spurious failure of AC_STAT64 test

2010-01-25 Thread Andreas Schwab
Here is a better patch, pre-POSIX systems might need sys/types.h before sys/stat.h. Andreas. From 3de3d6bf5abdf410110aed1f844992304f6ae8b9 Mon Sep 17 00:00:00 2001 From: Andreas Schwab sch...@redhat.com Date: Mon, 25 Jan 2010 11:32:48 +0100 Subject: [PATCH] Fix spurious failure of AC_STAT64 test

Re: [PATCH] Fix spurious failure of AC_STAT64 test

2010-01-24 Thread Dmitry V. Levin
On Sun, Jan 24, 2010 at 05:32:24PM +, Andreas Schwab wrote: Sorry, I don't understand the sentence. In the AC_STAT64 test, linux/types.h is included before asm/stat.h, and your proposal is to replace linux/types.h with sys/types.h. I'm not sure that any additional headers have to be included

Re: [PATCH] Fix spurious failure of AC_STAT64 test

2010-01-24 Thread Dmitry V. Levin
On Sun, Jan 24, 2010 at 11:08:47PM +0100, Andreas Schwab wrote: $ echo '#include asm/stat.h' |gcc -xc -c - -o /dev/null In file included from stdin:1: /usr/include/asm/stat.h:31: error: expected specifier-qualifier-list before ‘ino_t’ OK, just for the record, what is the kernel version and

Re: [PATCH] Fix spurious failure of AC_STAT64 test

2010-01-23 Thread Jan Kratochvil
On Sun, 24 Jan 2010 00:20:04 +0100, Andreas Schwab wrote: * acinclude.m4 (AC_STAT64): Include sys/stat.h instead of linux/stat.h. ... [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#ifdef LINUX -#include linux/types.h +#include sys/types.h #include asm/stat.h #else The ChangeLog entry does not