diff options
Diffstat (limited to 'sysutils/rmlint/files/patch-lib_utilities.h')
-rw-r--r-- | sysutils/rmlint/files/patch-lib_utilities.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sysutils/rmlint/files/patch-lib_utilities.h b/sysutils/rmlint/files/patch-lib_utilities.h new file mode 100644 index 000000000000..1f64031407c8 --- /dev/null +++ b/sysutils/rmlint/files/patch-lib_utilities.h @@ -0,0 +1,13 @@ +--- lib/utilities.h.orig 2021-02-09 17:20:43 UTC ++++ lib/utilities.h +@@ -127,6 +127,10 @@ static inline void rm_sys_close(int fd) { + } + } + ++#ifndef HAVE_LSEEK64 ++#define lseek64 lseek ++#endif ++ + static inline gint64 rm_sys_preadv(int fd, const struct iovec *iov, int iovcnt, + RmOff offset) { + #if RM_IS_APPLE || RM_IS_CYGWIN |