diff options
Diffstat (limited to 'meta-networking/recipes-connectivity/libiec61850/files/0001-use-poll.h-instead-of-sys-poll.h.patch')
-rw-r--r-- | meta-networking/recipes-connectivity/libiec61850/files/0001-use-poll.h-instead-of-sys-poll.h.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/meta-networking/recipes-connectivity/libiec61850/files/0001-use-poll.h-instead-of-sys-poll.h.patch b/meta-networking/recipes-connectivity/libiec61850/files/0001-use-poll.h-instead-of-sys-poll.h.patch deleted file mode 100644 index a04473d218..0000000000 --- a/meta-networking/recipes-connectivity/libiec61850/files/0001-use-poll.h-instead-of-sys-poll.h.patch +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | From 4cad505fc98240eb66eaabfae61a9694f8158dda Mon Sep 17 00:00:00 2001 | ||
2 | From: Romain Naour <romain.naour@smile.fr> | ||
3 | Date: Tue, 7 Apr 2020 20:58:37 +0200 | ||
4 | Subject: [PATCH] use <poll.h> instead of <sys/poll.h> | ||
5 | |||
6 | The manpage of poll(2) states that the prototype of poll is defined | ||
7 | in <poll.h>. Use that header file instead of <sys/poll.h> to allow | ||
8 | compilation against musl-libc. | ||
9 | |||
10 | Upstream status: Pending | ||
11 | https://github.com/mz-automation/libiec61850/pull/228 | ||
12 | |||
13 | Signed-off-by: Romain Naour <romain.naour@smile.fr> | ||
14 | --- | ||
15 | hal/ethernet/linux/ethernet_linux.c | 2 +- | ||
16 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
17 | |||
18 | diff --git a/hal/ethernet/linux/ethernet_linux.c b/hal/ethernet/linux/ethernet_linux.c | ||
19 | index c3ab2e2..9aa5c28 100644 | ||
20 | --- a/hal/ethernet/linux/ethernet_linux.c | ||
21 | +++ b/hal/ethernet/linux/ethernet_linux.c | ||
22 | @@ -23,7 +23,7 @@ | ||
23 | |||
24 | #include <sys/socket.h> | ||
25 | #include <sys/ioctl.h> | ||
26 | -#include <sys/poll.h> | ||
27 | +#include <poll.h> | ||
28 | #include <linux/if_packet.h> | ||
29 | #include <linux/if_ether.h> | ||
30 | #include <linux/if_arp.h> | ||
31 | -- | ||
32 | 2.21.1 | ||
33 | |||