blob: 1f64031407c8d77c6f872156363a6d395fe77fc5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
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
|