Patrick Williams | 2194f50 | 2022-10-16 14:26:09 -0500 | [diff] [blame^] | 1 | From 39a59ab7efe98c880c783b2ccf43e5a137d2b222 Mon Sep 17 00:00:00 2001 |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Mon, 27 Aug 2018 23:22:21 -0700 |
| 4 | Subject: [PATCH] Use off64_t instead of __off64_t |
| 5 | |
| 6 | Fixes |
| 7 | unknown type name '__off64_t' |
| 8 | |
| 9 | Upstream-Status: Pending |
| 10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 11 | --- |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 12 | open-vm-tools/lib/file/fileIOPosix.c | 4 ++-- |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 13 | 1 file changed, 2 insertions(+), 2 deletions(-) |
| 14 | |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 15 | diff --git a/open-vm-tools/lib/file/fileIOPosix.c b/open-vm-tools/lib/file/fileIOPosix.c |
Patrick Williams | 2194f50 | 2022-10-16 14:26:09 -0500 | [diff] [blame^] | 16 | index 492a4bf4a..a80a884cd 100644 |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 17 | --- a/open-vm-tools/lib/file/fileIOPosix.c |
| 18 | +++ b/open-vm-tools/lib/file/fileIOPosix.c |
Patrick Williams | 2194f50 | 2022-10-16 14:26:09 -0500 | [diff] [blame^] | 19 | @@ -211,10 +211,10 @@ static AlignedPool alignedPool; |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 20 | * 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 Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 30 | #error "Large file support is unavailable." |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 31 | #endif |
Patrick Williams | 2194f50 | 2022-10-16 14:26:09 -0500 | [diff] [blame^] | 32 | -- |
| 33 | 2.25.1 |
| 34 | |