summaryrefslogtreecommitdiff
path: root/hlink.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-05-06 05:43:36 +0000
committerAndrew Tridgell <tridge@samba.org>1998-05-06 05:43:36 +0000
commitbcacc18bdf1bdac625ef1f178e8e32892544cc30 (patch)
tree1a40003511714909ac3838a54920f6e136070cd6 /hlink.c
parent3bee67337d0491f55654cf8e926592365e5a8502 (diff)
downloadrsync-bcacc18bdf1bdac625ef1f178e8e32892544cc30.tar.gz
rsync-bcacc18bdf1bdac625ef1f178e8e32892544cc30.tar.bz2
rsync-bcacc18bdf1bdac625ef1f178e8e32892544cc30.zip
added support for 64 bit file offsets under Solaris 2.6. Not tested
yet.
Diffstat (limited to 'hlink.c')
-rw-r--r--hlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hlink.c b/hlink.c
index 31c19cd8..6b2c0605 100644
--- a/hlink.c
+++ b/hlink.c
@@ -106,7 +106,7 @@ int check_hard_link(struct file_struct *file)
#if SUPPORT_HARD_LINKS
static void hard_link_one(int i)
{
- struct stat st1,st2;
+ STRUCT_STAT st1,st2;
if (link_stat(f_name(&hlink_list[i-1]),&st1) != 0) return;