Patrick Williams | 2194f50 | 2022-10-16 14:26:09 -0500 | [diff] [blame^] | 1 | From 7f7e00ce582d72013cb54278548d3320e032b0dc Mon Sep 17 00:00:00 2001 |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Mon, 7 Feb 2022 13:32:32 -0800 |
| 4 | Subject: [PATCH] open-vm-tools: Correct include path for poll.h |
| 5 | |
| 6 | sys/poll.h is deprecated and musl calls it out explicitly. |
| 7 | |
| 8 | Fixes |
| 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 | |
| 15 | Upstream-Status: Pending |
| 16 | Signed-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 | |
| 21 | diff --git a/open-vm-tools/services/plugins/gdp/gdpPlugin.c b/open-vm-tools/services/plugins/gdp/gdpPlugin.c |
| 22 | index 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 Williams | 2194f50 | 2022-10-16 14:26:09 -0500 | [diff] [blame^] | 35 | 2.25.1 |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 36 | |