1From a8ef33b0623ba3494594a040ff5c77771168fdd6 Mon Sep 17 00:00:00 2001
2From: 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
10
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 open-vm-tools/lib/file/fileIOPosix.c | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
15
16diff --git a/open-vm-tools/lib/file/fileIOPosix.c b/open-vm-tools/lib/file/fileIOPosix.c
17index 492a4bf4a..a80a884cd 100644
18--- a/open-vm-tools/lib/file/fileIOPosix.c
19+++ b/open-vm-tools/lib/file/fileIOPosix.c
20@@ -211,10 +211,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
31       #error "Large file support is unavailable."
32    #endif
33--
342.25.1
35
36