blob: 5e37d7617b2d791f9187a26bd917e9fced12d825 [file] [log] [blame]
Andrew Geissler595f6302022-01-24 19:11:47 +00001From 80b1c4236549b0194d1f0d6e9be887e3a5850843 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>
Andrew Geissler595f6302022-01-24 19:11:47 +000011
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080012---
Brad Bishop15ae2502019-06-18 21:44:24 -040013 open-vm-tools/lib/file/fileIOPosix.c | 4 ++--
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080014 1 file changed, 2 insertions(+), 2 deletions(-)
15
Brad Bishop15ae2502019-06-18 21:44:24 -040016diff --git a/open-vm-tools/lib/file/fileIOPosix.c b/open-vm-tools/lib/file/fileIOPosix.c
Andrew Geissler595f6302022-01-24 19:11:47 +000017index 82c0aa18..e9154541 100644
Brad Bishop15ae2502019-06-18 21:44:24 -040018--- a/open-vm-tools/lib/file/fileIOPosix.c
19+++ b/open-vm-tools/lib/file/fileIOPosix.c
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080020@@ -206,10 +206,10 @@ static AlignedPool alignedPool;
21 * the symbols (and anyone building XOPEN<700 gets nothing).
22 */
23 extern ssize_t preadv64(int fd, const struct iovec *iov, int iovcnt,
24- __off64_t offset) __attribute__ ((weak));
25+ off64_t offset) __attribute__ ((weak));
26
27 extern ssize_t pwritev64(int fd, const struct iovec *iov, int iovcnt,
28- __off64_t offset) __attribute__ ((weak));
29+ off64_t offset) __attribute__ ((weak));
30 #else
Andrew Geissler595f6302022-01-24 19:11:47 +000031 #error "Large file support is unavailable."
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080032 #endif