From 6abb59adf61a64a9353c8477bc23a701ba7e139e Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Mon, 6 Sep 2010 08:25:19 -0700 Subject: [PATCH] If we create an off_t type, define SIZEOF_OFF_T. --- rsync.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rsync.h b/rsync.h index d804d495..5f914d1c 100644 --- a/rsync.h +++ b/rsync.h @@ -430,6 +430,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; -- 2.34.1