summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-connectivity/libiec61850/files/0001-use-poll.h-instead-of-sys-poll.h.patch
diff options
context:
space:
mode:
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.patch33
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 @@
1From 4cad505fc98240eb66eaabfae61a9694f8158dda Mon Sep 17 00:00:00 2001
2From: Romain Naour <romain.naour@smile.fr>
3Date: Tue, 7 Apr 2020 20:58:37 +0200
4Subject: [PATCH] use <poll.h> instead of <sys/poll.h>
5
6The manpage of poll(2) states that the prototype of poll is defined
7in <poll.h>. Use that header file instead of <sys/poll.h> to allow
8compilation against musl-libc.
9
10Upstream status: Pending
11https://github.com/mz-automation/libiec61850/pull/228
12
13Signed-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
18diff --git a/hal/ethernet/linux/ethernet_linux.c b/hal/ethernet/linux/ethernet_linux.c
19index 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--
322.21.1
33