[PATCH] Fix spurious failure of AC_STAT64 test

Andreas Schwab schwab at linux-m68k.org
Sat Jan 23 23:20:04 UTC 2010


>From c8fdc7ef4f8413fd4444b25ef6a6013d2bbf2e20 Mon Sep 17 00:00:00 2001
From: Andreas Schwab <schwab at linux-m68k.org>
Date: Sun, 24 Jan 2010 00:09:15 +0100
Subject: [PATCH] Fix spurious failure of AC_STAT64 test

* acinclude.m4 (AC_STAT64): Include <sys/stat.h> instead of
<linux/stat.h>.
---
 acinclude.m4 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/acinclude.m4 b/acinclude.m4
index 5473b69..f174592 100644
--- 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>
-- 
1.6.6.1


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