blob: d69b74e23acf20f7446cc14991955a28aca85923 [file] [log] [blame]
Brad Bishop15ae2502019-06-18 21:44:24 -04001From 123c690f12f560022305b0cf19499e7f81a690ae 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
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080016index 23108279..bcd2ddc5 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
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080019@@ -206,10 +206,10 @@ static AlignedPool alignedPool;
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
30 #error "Large file support unavailable. Aborting."
31 #endif