Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 1 | From ed988c27efde5355c3ba9d0de8a14a4a40f798cc Mon Sep 17 00:00:00 2001 |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Tue, 6 Jun 2017 07:25:09 -0700 |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 4 | Subject: [PATCH] Include poll.h instead of deprecated sys/poll.h |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 5 | |
| 6 | Upstream-Status: Pending |
| 7 | |
| 8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 9 | |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 10 | --- |
| 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 | |
| 15 | diff --git a/src/lib/src/fwts_ipmi.c b/src/lib/src/fwts_ipmi.c |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 16 | index a4c8a511..e298969e 100644 |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 17 | --- 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 | |
| 32 | diff --git a/src/lib/src/fwts_pipeio.c b/src/lib/src/fwts_pipeio.c |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 33 | index 3b3cfaff..289564d1 100644 |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 34 | --- 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> |