blob: e3e5d9fb604903cef773261b982efb01ed004ad3 [file] [log] [blame]
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00001From 701255c5797f222f0c47ace6437d213607b98d1e 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 Geissler7e0e3c02022-02-25 20:34:39 +00004Subject: [PATCH] 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>
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000011
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050012---
13 sys/dvb/gstdvbsrc.c | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/sys/dvb/gstdvbsrc.c b/sys/dvb/gstdvbsrc.c
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000017index 92c918c..5e27871 100644
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050018--- a/sys/dvb/gstdvbsrc.c
19+++ b/sys/dvb/gstdvbsrc.c
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000020@@ -98,7 +98,7 @@
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050021 #include <gst/gst.h>
22 #include <gst/glib-compat-private.h>
23 #include <sys/ioctl.h>
24-#include <sys/poll.h>
25+#include <poll.h>
26 #include <fcntl.h>
27 #include <errno.h>
28 #include <stdio.h>