blob: ead6897f67e16fcb975e328d2b5f161294b9feef [file] [log] [blame]
Andrew Geissler6ce62a22020-11-30 19:58:47 -06001From 3b05e91720c10fcf6e0e408595b7217f6fa145c2 Mon Sep 17 00:00:00 2001
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05002From: Andre McCurdy <armccurdy@gmail.com>
3Date: Wed, 3 Feb 2016 18:05:41 -0800
Andrew Geissler6ce62a22020-11-30 19:58:47 -06004Subject: [PATCH 2/4] avoid including <sys/poll.h> directly
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05005
6musl libc generates warnings if <sys/poll.h> is included directly.
7
8Upstream-Status: Pending
9
10Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
11---
12 sys/dvb/gstdvbsrc.c | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/sys/dvb/gstdvbsrc.c b/sys/dvb/gstdvbsrc.c
Andrew Geissler6ce62a22020-11-30 19:58:47 -060016index ca6b92a..b2772db 100644
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050017--- a/sys/dvb/gstdvbsrc.c
18+++ b/sys/dvb/gstdvbsrc.c
Brad Bishop15ae2502019-06-18 21:44:24 -040019@@ -97,7 +97,7 @@
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050020 #include <gst/gst.h>
21 #include <gst/glib-compat-private.h>
22 #include <sys/ioctl.h>
23-#include <sys/poll.h>
24+#include <poll.h>
25 #include <fcntl.h>
26 #include <errno.h>
27 #include <stdio.h>
28--
Andrew Geissler6ce62a22020-11-30 19:58:47 -0600292.28.0
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050030