summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/fcntl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/fcntl.h b/include/fcntl.h
index f0e5671e..87ecf59b 100644
--- a/include/fcntl.h
+++ b/include/fcntl.h
@@ -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)