blob: 82379331ecc17ae441a6081fc557b8d464b7d4f5 [file] [log] [blame]
Andrew Geisslere34f8962021-04-15 15:53:51 -05001From 1575b5ce3ecb8709806908061f689315553b40c7 Mon Sep 17 00:00:00 2001
Brad Bishopd7bf8c12018-02-25 22:55:05 -05002From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 6 Jun 2017 07:25:09 -0700
Andrew Geisslere34f8962021-04-15 15:53:51 -05004Subject: [PATCH 2/6] Include poll.h instead of deprecated sys/poll.h
Brad Bishopd7bf8c12018-02-25 22:55:05 -05005
6Upstream-Status: Pending
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
10 src/lib/src/fwts_ipmi.c | 3 ++-
11 src/lib/src/fwts_pipeio.c | 2 +-
12 2 files changed, 3 insertions(+), 2 deletions(-)
13
14diff --git a/src/lib/src/fwts_ipmi.c b/src/lib/src/fwts_ipmi.c
Andrew Geisslere34f8962021-04-15 15:53:51 -050015index ca7c55bb..0b16bec3 100644
Brad Bishopd7bf8c12018-02-25 22:55:05 -050016--- a/src/lib/src/fwts_ipmi.c
17+++ b/src/lib/src/fwts_ipmi.c
18@@ -18,10 +18,11 @@
19 *
20 */
21
22+#include <poll.h>
23+
24 #include <sys/types.h>
25 #include <sys/stat.h>
26 #include <fcntl.h>
27-#include <sys/poll.h>
28 #include <sys/ioctl.h>
29 #include <linux/ipmi.h>
30
31diff --git a/src/lib/src/fwts_pipeio.c b/src/lib/src/fwts_pipeio.c
Andrew Geisslere34f8962021-04-15 15:53:51 -050032index 716297c4..37752297 100644
Brad Bishopd7bf8c12018-02-25 22:55:05 -050033--- a/src/lib/src/fwts_pipeio.c
34+++ b/src/lib/src/fwts_pipeio.c
35@@ -30,9 +30,9 @@
36 #include <stdlib.h>
37 #include <string.h>
38 #include <paths.h>
39+#include <poll.h>
40
41 #include <sys/param.h>
42-#include <sys/poll.h>
43 #include <sys/types.h>
44 #include <sys/wait.h>
45 #include <errno.h>
Andrew Geisslere34f8962021-04-15 15:53:51 -050046--
472.25.1
48