summaryrefslogtreecommitdiff
path: root/rsync.h
diff options
context:
space:
mode:
Diffstat (limited to 'rsync.h')
-rw-r--r--rsync.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/rsync.h b/rsync.h
index 4a5313e9..3404da78 100644
--- a/rsync.h
+++ b/rsync.h
@@ -465,6 +465,8 @@ typedef unsigned int mode_t;
#endif
#ifndef HAVE_OFF_T
typedef long off_t;
+#undef SIZEOF_OFF_T
+#define SIZEOF_OFF_T SIZEOF_LONG
#endif
#ifndef HAVE_SIZE_T
typedef unsigned int size_t;