summaryrefslogtreecommitdiff
path: root/rsync.h
diff options
context:
space:
mode:
authorWayne Davison <wayne@opencoder.net>2022-04-11 08:29:54 -0700
committerWayne Davison <wayne@opencoder.net>2022-04-11 08:29:54 -0700
commit60dd42be603a79cd57cec076fe1680e9037be774 (patch)
tree8c9a617a031251222cecf1182746e7c57cb8a0b4 /rsync.h
parentd821e4cbfbc66848cdf91a336af26fdb89dd9a8f (diff)
downloadrsync-60dd42be603a79cd57cec076fe1680e9037be774.tar.gz
Handle linking with a zlib with external read_buf.
Diffstat (limited to 'rsync.h')
-rw-r--r--rsync.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/rsync.h b/rsync.h
index 4b30570b..e5aacd25 100644
--- a/rsync.h
+++ b/rsync.h
@@ -1172,6 +1172,10 @@ struct name_num_obj {
struct name_num_item list[10]; /* we'll get a compile error/warning if this is ever too small */
};
+#ifdef EXTERNAL_ZLIB
+#define read_buf read_buf_
+#endif
+
#ifndef __cplusplus
#include "proto.h"
#endif