blob: 83687460bf61b7c394a69cd8592a688d340342ae [file] [log] [blame]
Patrick Williams2194f502022-10-16 14:26:09 -05001From 7f7e00ce582d72013cb54278548d3320e032b0dc Mon Sep 17 00:00:00 2001
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00002From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 7 Feb 2022 13:32:32 -0800
4Subject: [PATCH] open-vm-tools: Correct include path for poll.h
5
6sys/poll.h is deprecated and musl calls it out explicitly.
7
8Fixes
9| In file included from ../../../../git/open-vm-tools/services/plugins/gdp/gdpPlugin.c:35:
10| /mnt/b/yoe/master/build/tmp/work/core2-32-yoe-linux-musl/open-vm-tools/11.3.5-r0/recipe-sysroot/usr/include/sys/poll.h:1:2: error: redirecting incorrect #include <sys/poll.h> to <poll.h> [-Werror,-W#warnings]
11| #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
12| ^
13| 1 error generated.
14
15Upstream-Status: Pending
16Signed-off-by: Khem Raj <raj.khem@gmail.com>
17---
18 open-vm-tools/services/plugins/gdp/gdpPlugin.c | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
20
21diff --git a/open-vm-tools/services/plugins/gdp/gdpPlugin.c b/open-vm-tools/services/plugins/gdp/gdpPlugin.c
22index 2bba2937e..025339595 100644
23--- a/open-vm-tools/services/plugins/gdp/gdpPlugin.c
24+++ b/open-vm-tools/services/plugins/gdp/gdpPlugin.c
25@@ -32,7 +32,7 @@
26 #include <sys/types.h>
27 #include <sys/socket.h>
28 #include <sys/eventfd.h>
29-#include <sys/poll.h>
30+#include <poll.h>
31 #include <unistd.h>
32 #endif
33
34--
Patrick Williams2194f502022-10-16 14:26:09 -0500352.25.1
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000036