summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/basic/missing_fs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/basic/missing_fs.h b/src/basic/missing_fs.h
index 6dcea6c56a..411e2cb962 100644
--- a/src/basic/missing_fs.h
+++ b/src/basic/missing_fs.h
@@ -16,6 +16,12 @@
#ifndef FICLONERANGE /* 04b38d601239b4d9be641b412cf4b7456a041c67 (4.5) */
#define FICLONERANGE _IOW(0x94, 13, struct file_clone_range)
+struct file_clone_range {
+ __s64 src_fd;
+ __u64 src_offset;
+ __u64 src_length;
+ __u64 dest_offset;
+};
#endif
/* linux/fs.h or sys/mount.h */