blob: 4baefe4a4c06b84a1903b0dfcfa1bd7cc3b5c509 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001From ed988c27efde5355c3ba9d0de8a14a4a40f798cc 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
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08004Subject: [PATCH] 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>
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08009
Brad Bishopd7bf8c12018-02-25 22:55:05 -050010---
11 src/lib/src/fwts_ipmi.c | 3 ++-
12 src/lib/src/fwts_pipeio.c | 2 +-
13 2 files changed, 3 insertions(+), 2 deletions(-)
14
15diff --git a/src/lib/src/fwts_ipmi.c b/src/lib/src/fwts_ipmi.c
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080016index a4c8a511..e298969e 100644
Brad Bishopd7bf8c12018-02-25 22:55:05 -050017--- a/src/lib/src/fwts_ipmi.c
18+++ b/src/lib/src/fwts_ipmi.c
19@@ -18,10 +18,11 @@
20 *
21 */
22
23+#include <poll.h>
24+
25 #include <sys/types.h>
26 #include <sys/stat.h>
27 #include <fcntl.h>
28-#include <sys/poll.h>
29 #include <sys/ioctl.h>
30 #include <linux/ipmi.h>
31
32diff --git a/src/lib/src/fwts_pipeio.c b/src/lib/src/fwts_pipeio.c
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080033index 3b3cfaff..289564d1 100644
Brad Bishopd7bf8c12018-02-25 22:55:05 -050034--- a/src/lib/src/fwts_pipeio.c
35+++ b/src/lib/src/fwts_pipeio.c
36@@ -30,9 +30,9 @@
37 #include <stdlib.h>
38 #include <string.h>
39 #include <paths.h>
40+#include <poll.h>
41
42 #include <sys/param.h>
43-#include <sys/poll.h>
44 #include <sys/types.h>
45 #include <sys/wait.h>
46 #include <errno.h>