Use uint64_t for splice offsets
Apparently __off64_t is a glibc'ism. Give up on the offset types, let's
just use a 64-bit unsigned type.
Fixes: b5096098c62a ("Use __off64_t for offsets")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/src/include/liburing.h b/src/include/liburing.h
index 2c8beef..56e32d7 100644
--- a/src/include/liburing.h
+++ b/src/include/liburing.h
@@ -193,8 +193,8 @@
}
static inline void io_uring_prep_splice(struct io_uring_sqe *sqe,
- int fd_in, __off64_t off_in,
- int fd_out, __off64_t off_out,
+ int fd_in, uint64_t off_in,
+ int fd_out, uint64_t off_out,
unsigned int nbytes,
unsigned int splice_flags)
{