changeset 30243:134a4ebe4407

fts.m4: correct the test for statfs.f_type * m4/fts.m4 (gl_FUNC_FTS_CORE): Include <sys/statfs.h> when checking for statfs.f_type.
author Jim Meyering <meyering@redhat.com>
date Tue, 30 Sep 2008 17:56:01 +0200
parents 86950e198e32
children d4a213377823
files ChangeLog m4/fts.m4
diffstat 2 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Sep 30 08:34:56 2008 +0200
+++ b/ChangeLog	Tue Sep 30 17:56:01 2008 +0200
@@ -1,3 +1,9 @@
+2008-09-30  Jim Meyering  <meyering@redhat.com>
+
+	fts.m4: correct the test for statfs.f_type
+	* m4/fts.m4 (gl_FUNC_FTS_CORE): Include <sys/statfs.h>
+	when checking for statfs.f_type.
+
 2008-09-15  Simon Josefsson  <simon@josefsson.org>
 
 	tests: avoid some compiler warnings
--- a/m4/fts.m4	Tue Sep 30 08:34:56 2008 +0200
+++ b/m4/fts.m4	Tue Sep 30 17:56:01 2008 +0200
@@ -1,4 +1,4 @@
-#serial 14
+#serial 15
 dnl Copyright (C) 2005-2008 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -25,5 +25,7 @@
 
   AC_CHECK_FUNCS_ONCE([fstatfs])
   AC_CHECK_HEADERS_ONCE([sys/param.h sys/vfs])dnl
-  AC_CHECK_MEMBERS([struct statfs.f_type])
+  AC_CHECK_MEMBERS([struct statfs.f_type],,,
+    [$ac_includes_default
+     #include <sys/statfs.h>])
 ])