changeset 2373:e58bd99abc4f

(jm_CHECK_ALL_TYPES): Include <sys/stat.h> before checking struct stat.st_blksize, so that HAVE_STRUCT_STAT_ST_BLKSIZE is defined correctly.
author Jim Meyering <jim@meyering.net>
date Sun, 02 Apr 2000 21:00:24 +0000
parents c0c46914f4fe
children 0fb706adf5f6
files m4/jm-macros.m4
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/m4/jm-macros.m4
+++ b/m4/jm-macros.m4
@@ -1,4 +1,4 @@
-#serial 13
+#serial 14
 
 dnl Misc type-related macros for fileutils, sh-utils, textutils.
 
@@ -204,7 +204,9 @@
 
   AC_REQUIRE([AC_HEADER_DIRENT])
   AC_REQUIRE([AC_HEADER_STDC])
-  AC_CHECK_MEMBERS((struct stat.st_blksize))
+  AC_CHECK_MEMBERS((struct stat.st_blksize),,,[$ac_includes_default
+#include <sys/stat.h>
+  ])
   AC_REQUIRE([AC_STRUCT_ST_BLOCKS])
 
   AC_REQUIRE([AC_STRUCT_TM])