Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 796702 Details for
Bug 862795
app-emulation/open-vm-tools-12.0.5_p19716617 fails to compile (MUSL): asyncsocket.c:2846:13: error: invalid use of undefined type struct pollfd
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Rename poll.h to vm_poll.h
06_11.2.5-rename-poll_h.patch (text/plain), 3.20 KB, created by
CFuga
on 2022-08-01 20:33:23 UTC
(
hide
)
Description:
Rename poll.h to vm_poll.h
Filename:
MIME Type:
Creator:
CFuga
Created:
2022-08-01 20:33:23 UTC
Size:
3.20 KB
patch
obsolete
>From 5b45a812a5a3e9509021043f83529cccc13af26a Mon Sep 17 00:00:00 2001 >From: Natanael Copa <ncopa@alpinelinux.org> >Date: Tue, 17 Nov 2015 10:57:31 +0000 >Subject: [PATCH] Rename poll.h to vm_poll.h > >musl libc's system headers pulls in open-vm-tools' poll.h. To avoid this >we rename poll.h to vm_poll.h. > >Signed-off-by: Natanael Copa <ncopa@alpinelinux.org> >--- > open-vm-tools/lib/asyncsocket/asyncsocket.c | 2 +- > open-vm-tools/lib/hgfsServer/hgfsServer.c | 2 +- > open-vm-tools/lib/include/asyncsocket.h | 2 +- > open-vm-tools/lib/include/pollImpl.h | 2 +- > open-vm-tools/lib/include/{poll.h => vm_poll.h} | 0 > open-vm-tools/lib/rpcIn/rpcin.c | 2 +- > 6 files changed, 5 insertions(+), 5 deletions(-) > rename open-vm-tools/lib/include/{poll.h => vm_poll.h} (100%) > >diff --git a/open-vm-tools/lib/asyncsocket/asyncsocket.c b/open-vm-tools/lib/asyncsocket/asyncsocket.c >index 05147d2e5..493824af8 100644 >--- a/open-vm-tools/lib/asyncsocket/asyncsocket.c >+++ b/open-vm-tools/lib/asyncsocket/asyncsocket.c >@@ -87,7 +87,7 @@ > #include "random.h" > #include "asyncsocket.h" > #include "asyncSocketBase.h" >-#include "poll.h" >+#include "vm_poll.h" > #include "log.h" > #include "err.h" > #include "hostinfo.h" >diff --git a/open-vm-tools/lib/hgfsServer/hgfsServer.c b/open-vm-tools/lib/hgfsServer/hgfsServer.c >index 98f5b3f06..b436f0c7e 100644 >--- a/open-vm-tools/lib/hgfsServer/hgfsServer.c >+++ b/open-vm-tools/lib/hgfsServer/hgfsServer.c >@@ -51,7 +51,7 @@ > #include "hgfsDirNotify.h" > #include "hgfsThreadpool.h" > #include "userlock.h" >-#include "poll.h" >+#include "vm_poll.h" > #include "mutexRankLib.h" > #include "vm_basic_asm.h" > #include "unicodeOperations.h" >diff --git a/open-vm-tools/lib/include/asyncsocket.h b/open-vm-tools/lib/include/asyncsocket.h >index 47b5b873f..b8b0149e7 100644 >--- a/open-vm-tools/lib/include/asyncsocket.h >+++ b/open-vm-tools/lib/include/asyncsocket.h >@@ -171,7 +171,7 @@ typedef struct AsyncSocket AsyncSocket; > * Or the client can specify its favorite poll class and locking behavior. > * Use of IVmdbPoll is only supported for regular sockets and for Attach. > */ >-#include "poll.h" >+#include "vm_poll.h" > struct IVmdbPoll; > typedef struct AsyncSocketPollParams { > int flags; /* Default 0, only POLL_FLAG_NO_BULL is valid */ >diff --git a/open-vm-tools/lib/include/pollImpl.h b/open-vm-tools/lib/include/pollImpl.h >index 46442e556..8bc669970 100644 >--- a/open-vm-tools/lib/include/pollImpl.h >+++ b/open-vm-tools/lib/include/pollImpl.h >@@ -44,7 +44,7 @@ > #define INCLUDE_ALLOW_USERLEVEL > #include "includeCheck.h" > >-#include "poll.h" >+#include "vm_poll.h" > #include "vm_basic_asm.h" > > #if defined(__cplusplus) >diff --git a/open-vm-tools/lib/include/poll.h b/open-vm-tools/lib/include/vm_poll.h >similarity index 100% >rename from open-vm-tools/lib/include/poll.h >rename to open-vm-tools/lib/include/vm_poll.h >diff --git a/open-vm-tools/lib/rpcIn/rpcin.c b/open-vm-tools/lib/rpcIn/rpcin.c >index 8b1fe759d..f22fcd402 100644 >--- a/open-vm-tools/lib/rpcIn/rpcin.c >+++ b/open-vm-tools/lib/rpcIn/rpcin.c >@@ -57,7 +57,7 @@ > > #if defined(VMTOOLS_USE_VSOCKET) > # include <glib.h> >-# include "poll.h" >+# include "vm_poll.h" > # include "asyncsocket.h" > # include "vmci_defs.h" > #include "dataMap.h"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 862795
:
796549
|
796687
|
796690
|
796693
|
796696
|
796699
| 796702 |
796705
|
796708
|
796711
|
796714
|
796720