>From c8fdc7ef4f8413fd4444b25ef6a6013d2bbf2e20 Mon Sep 17 00:00:00 2001
From: Andreas Schwab <sch...@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, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to