blob: 8ad07893615f22b8ca775f1035a9940f1b119fe5 [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001From 100a107a53d5dc9b0554252ac5dbf2c9330615e9 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 6 Jun 2017 07:25:09 -0700
4Subject: [PATCH 1/3] Include poll.h instead of deprecated sys/poll.h
5
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
15index cbb27611..70d11cfa 100644
16--- 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
32index fd719640..bdc5b2ea 100644
33--- 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>
46--
472.13.0
48