blob: 814b9e3b2581f58aa2a03c7f255c8559b3806453 [file] [log] [blame]
Brad Bishop15ae2502019-06-18 21:44:24 -04001From e4f0b99d90e26b15106f634caad1c3dea9e09cb8 Mon Sep 17 00:00:00 2001
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08002From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 13 Jun 2018 23:02:50 -0700
4Subject: [PATCH] include poll.h instead of sys/poll.h
5
6including sys/poll.h is deprecated
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
10 open-vm-tools/lib/asyncsocket/asyncsocket.c | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
Brad Bishop15ae2502019-06-18 21:44:24 -040013diff --git a/open-vm-tools/lib/asyncsocket/asyncsocket.c b/open-vm-tools/lib/asyncsocket/asyncsocket.c
14index 65b07109..b41aa29d 100644
15--- a/open-vm-tools/lib/asyncsocket/asyncsocket.c
16+++ b/open-vm-tools/lib/asyncsocket/asyncsocket.c
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080017@@ -69,8 +69,8 @@
18 #else
19 #include <stddef.h>
20 #include <ctype.h>
21+#include <poll.h>
22 #include <sys/types.h>
23-#include <sys/poll.h>
24 #include <sys/socket.h>
25 #include <sys/un.h>
26 #include <netdb.h>