Andrew Geissler | e34f896 | 2021-04-15 15:53:51 -0500 | [diff] [blame] | 1 | From 1575b5ce3ecb8709806908061f689315553b40c7 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 |
Andrew Geissler | e34f896 | 2021-04-15 15:53:51 -0500 | [diff] [blame] | 4 | Subject: [PATCH 2/6] 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> |
| 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 | |
| 14 | diff --git a/src/lib/src/fwts_ipmi.c b/src/lib/src/fwts_ipmi.c |
Andrew Geissler | e34f896 | 2021-04-15 15:53:51 -0500 | [diff] [blame] | 15 | index ca7c55bb..0b16bec3 100644 |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 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 | |
| 31 | diff --git a/src/lib/src/fwts_pipeio.c b/src/lib/src/fwts_pipeio.c |
Andrew Geissler | e34f896 | 2021-04-15 15:53:51 -0500 | [diff] [blame] | 32 | index 716297c4..37752297 100644 |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 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> |
Andrew Geissler | e34f896 | 2021-04-15 15:53:51 -0500 | [diff] [blame] | 46 | -- |
| 47 | 2.25.1 |
| 48 | |