[PATCH] Fix spurious failure of AC_STAT64 test

Dmitry V. Levin ldv at altlinux.org
Sun Jan 24 15:44:58 UTC 2010


On Sun, Jan 24, 2010 at 12:20:04AM +0100, Andreas Schwab wrote:
> --- a/acinclude.m4
> +++ b/acinclude.m4
> @@ -197,7 +197,7 @@ AC_DEFUN([AC_STAT64],
>  [AC_MSG_CHECKING(for stat64 in (asm|sys)/stat.h)
>  AC_CACHE_VAL(ac_cv_type_stat64,
>  [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#ifdef LINUX
> -#include <linux/types.h>
> +#include <sys/types.h>
>  #include <asm/stat.h>
>  #else
>  #include <sys/stat.h>

Whether <asm/stat.h> requires additional headers to be included?


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20100124/464d568a/attachment.bin>


More information about the Strace-devel mailing list