provide loff_t for splice syscall
[musl] / include / fcntl.h
index f0e5671..87ecf59 100644 (file)
@@ -120,6 +120,7 @@ struct f_owner_ex {
 #define SPLICE_F_GIFT 8
 ssize_t vmsplice(int, const struct iovec *, size_t, unsigned);
 ssize_t splice(int, off_t *, int, off_t *, size_t, unsigned);
+#define loff_t off_t
 #endif
 
 #if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)