summaryrefslogtreecommitdiff
path: root/rsync.h
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2009-09-02 09:06:29 -0700
committerWayne Davison <wayned@samba.org>2009-09-02 09:06:29 -0700
commit6e310d38fcdeacb8055bb7e83d4e64c37fd54a38 (patch)
tree4a6676f79d57605fd67701953950c059c3af985e /rsync.h
parent3b83a22057b71e7df2b960d3997fb4474910f30e (diff)
downloadrsync-6e310d38fcdeacb8055bb7e83d4e64c37fd54a38.tar.gz
rsync-6e310d38fcdeacb8055bb7e83d4e64c37fd54a38.tar.bz2
rsync-6e310d38fcdeacb8055bb7e83d4e64c37fd54a38.zip
Have --fake-super turn a symlink into a file when
NO_SYMLINK_XATTRS is defined.
Diffstat (limited to 'rsync.h')
-rw-r--r--rsync.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/rsync.h b/rsync.h
index c8115fce..4d4a7642 100644
--- a/rsync.h
+++ b/rsync.h
@@ -981,6 +981,9 @@ extern int errno;
#ifdef HAVE_READLINK
#define SUPPORT_LINKS 1
+#ifndef NO_SYMLINK_XATTRS
+#define do_readlink(path, buf, bufsiz) readlink(path, buf, bufsiz)
+#endif
#endif
#ifdef HAVE_LINK
#define SUPPORT_HARD_LINKS 1