summaryrefslogtreecommitdiff
path: root/syscall.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-05-06 06:07:06 +0000
committerAndrew Tridgell <tridge@samba.org>1998-05-06 06:07:06 +0000
commitefb2f6bf626c4379065431bc207b47a4b824a7f3 (patch)
tree9fee3e8e0b0de5e3ae1c937bd5879663a4ddf1ef /syscall.c
parentbcacc18bdf1bdac625ef1f178e8e32892544cc30 (diff)
downloadrsync-efb2f6bf626c4379065431bc207b47a4b824a7f3.tar.gz
use floating point for printout of stats - this wrks on machines
without long long but with a 64 bit off_t
Diffstat (limited to 'syscall.c')
-rw-r--r--syscall.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/syscall.c b/syscall.c
index 103c002f..10b32f84 100644
--- a/syscall.c
+++ b/syscall.c
@@ -105,6 +105,7 @@ int do_stat(const char *fname, STRUCT_STAT *st)
#endif
}
+#if SUPPORT_LINKS
int do_lstat(const char *fname, STRUCT_STAT *st)
{
#if HAVE_OFF64_T
@@ -113,6 +114,7 @@ int do_lstat(const char *fname, STRUCT_STAT *st)
return lstat(fname, st);
#endif
}
+#endif
int do_fstat(int fd, STRUCT_STAT *st)
{