0
0
mirror of https://github.com/openwrt/packages.git synced 2025-02-07 08:09:51 +00:00
packages/net/open-isns/patches/03-include_poll_h.patch
Ilya Lipnitskiy 5d8d4fbbcb treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-20 16:02:15 -08:00

23 lines
558 B
Diff

From 2e27c43228210eaa7aaabc2048c78645f319d080 Mon Sep 17 00:00:00 2001
From: Leo <thinkabit.ukim@gmail.com>
Date: Tue, 4 Feb 2020 05:42:22 +0100
Subject: [PATCH] socket.c: include poll.h instead of sys/poll.h for POSIX
compatibility
https://pubs.opengroup.org/onlinepubs/009695399/basedefs/poll.h.html
---
socket.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/socket.c
+++ b/socket.c
@@ -5,7 +5,7 @@
*/
#include <sys/socket.h>
-#include <sys/poll.h>
+#include <poll.h>
#include <sys/time.h>
#include <sys/un.h>
#include <string.h>