Merge pull request #11353 from kvuorine/fwknop-fixes
[feed/packages.git] / net / open-isns / patches / 03-include_poll_h.patch
1 From 2e27c43228210eaa7aaabc2048c78645f319d080 Mon Sep 17 00:00:00 2001
2 From: Leo <thinkabit.ukim@gmail.com>
3 Date: Tue, 4 Feb 2020 05:42:22 +0100
4 Subject: [PATCH] socket.c: include poll.h instead of sys/poll.h for POSIX
5 compatibility
6
7 https://pubs.opengroup.org/onlinepubs/009695399/basedefs/poll.h.html
8 ---
9 socket.c | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12 diff --git a/socket.c b/socket.c
13 index a76d593..432a9bd 100644
14 --- a/socket.c
15 +++ b/socket.c
16 @@ -5,7 +5,7 @@
17 */
18
19 #include <sys/socket.h>
20 -#include <sys/poll.h>
21 +#include <poll.h>
22 #include <sys/time.h>
23 #include <sys/un.h>
24 #include <string.h>