diff options
author | Jim Meyering <jim@meyering.net> | 2000-04-02 21:00:24 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-04-02 21:00:24 +0000 |
commit | 527fd8d7d2c5e3db77a0553f9ffbdffcb7079638 (patch) | |
tree | a6b41abbb23fc487eec1e1f6b2bc71bc3b7ff8f0 /m4/jm-macros.m4 | |
parent | f016b208246a0c1862e5f784794b5cf2f39b4d7c (diff) | |
download | coreutils-527fd8d7d2c5e3db77a0553f9ffbdffcb7079638.tar.xz |
(jm_CHECK_ALL_TYPES): Include <sys/stat.h>
before checking struct stat.st_blksize, so that
HAVE_STRUCT_STAT_ST_BLKSIZE is defined correctly.
Diffstat (limited to 'm4/jm-macros.m4')
-rw-r--r-- | m4/jm-macros.m4 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/m4/jm-macros.m4 b/m4/jm-macros.m4 index a991628ee..2ed57dcae 100644 --- 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_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]) |