summaryrefslogtreecommitdiff
path: root/src/copy.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-11-05 09:55:24 +0000
committerJim Meyering <jim@meyering.net>1999-11-05 09:55:24 +0000
commit6b32b53027a59eee3818091f629d3aa9feb595e4 (patch)
tree529f8443a6123ea3b568421be6ee655abb818119 /src/copy.c
parent8a255624460e151537f4798fb7dbb8d7a25577bb (diff)
downloadcoreutils-6b32b53027a59eee3818091f629d3aa9feb595e4.tar.xz
Use HAVE_STRUCT_STAT_ST_BLOCKS, not deprecated HAVE_ST_BLOCKS.
Diffstat (limited to 'src/copy.c')
-rw-r--r--src/copy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/copy.c b/src/copy.c
index d40dc1901..e06acc14a 100644
--- a/src/copy.c
+++ b/src/copy.c
@@ -215,7 +215,7 @@ copy_reg (const char *src_path, const char *dst_path,
buf_size = ST_BLKSIZE (sb);
-#if HAVE_ST_BLOCKS
+#if HAVE_STRUCT_STAT_ST_BLOCKS
if (sparse_mode == SPARSE_AUTO && S_ISREG (sb.st_mode))
{
/* Use a heuristic to determine whether SRC_PATH contains any