blob: c7f3630eca545a67955d63d6597491830f33f176 [file] [log] [blame]
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05001From 4bfe2c8570a4a7080ec662504882969054d8a072 Mon Sep 17 00:00:00 2001
2From: Andre McCurdy <armccurdy@gmail.com>
3Date: Wed, 3 Feb 2016 18:12:38 -0800
4Subject: [PATCH] avoid including <sys/poll.h> directly
5
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 ext/raw1394/gstdv1394src.c | 2 +-
13 ext/raw1394/gsthdv1394src.c | 2 +-
14 2 files changed, 2 insertions(+), 2 deletions(-)
15
16diff --git a/ext/raw1394/gstdv1394src.c b/ext/raw1394/gstdv1394src.c
17index dbc7607..3c42b41 100644
18--- a/ext/raw1394/gstdv1394src.c
19+++ b/ext/raw1394/gstdv1394src.c
20@@ -37,7 +37,7 @@
21 #include "config.h"
22 #endif
23 #include <unistd.h>
24-#include <sys/poll.h>
25+#include <poll.h>
26 #include <sys/socket.h>
27 #include <errno.h>
28 #include <fcntl.h>
29diff --git a/ext/raw1394/gsthdv1394src.c b/ext/raw1394/gsthdv1394src.c
30index 0b07a37..9785a15 100644
31--- a/ext/raw1394/gsthdv1394src.c
32+++ b/ext/raw1394/gsthdv1394src.c
33@@ -36,7 +36,7 @@
34 #include "config.h"
35 #endif
36 #include <unistd.h>
37-#include <sys/poll.h>
38+#include <poll.h>
39 #include <sys/socket.h>
40 #include <errno.h>
41 #include <fcntl.h>
42--
431.9.1
44