aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0012-Use-off64_t-instead-of-__off64_t.patch
blob: 5e37d7617b2d791f9187a26bd917e9fced12d825 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From 80b1c4236549b0194d1f0d6e9be887e3a5850843 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Mon, 27 Aug 2018 23:22:21 -0700
Subject: [PATCH] Use off64_t instead of __off64_t

Fixes
unknown type name '__off64_t'

Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 open-vm-tools/lib/file/fileIOPosix.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/open-vm-tools/lib/file/fileIOPosix.c b/open-vm-tools/lib/file/fileIOPosix.c
index 82c0aa18..e9154541 100644
--- a/open-vm-tools/lib/file/fileIOPosix.c
+++ b/open-vm-tools/lib/file/fileIOPosix.c
@@ -206,10 +206,10 @@ static AlignedPool alignedPool;
        * the symbols (and anyone building XOPEN<700 gets nothing).
        */
       extern ssize_t preadv64(int fd, const struct iovec *iov, int iovcnt,
-                          __off64_t offset) __attribute__ ((weak));
+                          off64_t offset) __attribute__ ((weak));
 
       extern ssize_t pwritev64(int fd, const struct iovec *iov, int iovcnt,
-                          __off64_t offset) __attribute__ ((weak));
+                          off64_t offset) __attribute__ ((weak));
    #else
       #error "Large file support is unavailable."
    #endif