blob: 98eecebcfb873b5904bf4f3388d9c6b7310aef66 [file] [log] [blame]
Patrick Williams2194f502022-10-16 14:26:09 -05001From 39a59ab7efe98c880c783b2ccf43e5a137d2b222 Mon Sep 17 00:00:00 2001
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08002From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 27 Aug 2018 23:22:21 -0700
4Subject: [PATCH] Use off64_t instead of __off64_t
5
6Fixes
7unknown type name '__off64_t'
8
9Upstream-Status: Pending
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
Brad Bishop15ae2502019-06-18 21:44:24 -040012 open-vm-tools/lib/file/fileIOPosix.c | 4 ++--
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080013 1 file changed, 2 insertions(+), 2 deletions(-)
14
Brad Bishop15ae2502019-06-18 21:44:24 -040015diff --git a/open-vm-tools/lib/file/fileIOPosix.c b/open-vm-tools/lib/file/fileIOPosix.c
Patrick Williams2194f502022-10-16 14:26:09 -050016index 492a4bf4a..a80a884cd 100644
Brad Bishop15ae2502019-06-18 21:44:24 -040017--- a/open-vm-tools/lib/file/fileIOPosix.c
18+++ b/open-vm-tools/lib/file/fileIOPosix.c
Patrick Williams2194f502022-10-16 14:26:09 -050019@@ -211,10 +211,10 @@ static AlignedPool alignedPool;
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080020 * the symbols (and anyone building XOPEN<700 gets nothing).
21 */
22 extern ssize_t preadv64(int fd, const struct iovec *iov, int iovcnt,
23- __off64_t offset) __attribute__ ((weak));
24+ off64_t offset) __attribute__ ((weak));
25
26 extern ssize_t pwritev64(int fd, const struct iovec *iov, int iovcnt,
27- __off64_t offset) __attribute__ ((weak));
28+ off64_t offset) __attribute__ ((weak));
29 #else
Andrew Geissler595f6302022-01-24 19:11:47 +000030 #error "Large file support is unavailable."
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080031 #endif
Patrick Williams2194f502022-10-16 14:26:09 -050032--
332.25.1
34