(jm_CHECK_ALL_TYPES): Include <sys/stat.h>

before checking struct stat.st_blksize, so that
HAVE_STRUCT_STAT_ST_BLKSIZE is defined correctly.
This commit is contained in:
Jim Meyering committed 2000-04-02 21:00:24 +00:00
1 parent f016b20824
commit 527fd8d7d2
1 file changed
+4 -2
+4 -2
View File
@@ -1,4 +1,4 @@
#serial 13
#serial 14
dnl Misc type-related macros for fileutils, sh-utils, textutils.
@@ -204,7 +204,9 @@ AC_DEFUN(jm_CHECK_ALL_TYPES,
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])