Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 1 | From 4bfe2c8570a4a7080ec662504882969054d8a072 Mon Sep 17 00:00:00 2001 |
| 2 | From: Andre McCurdy <armccurdy@gmail.com> |
| 3 | Date: Wed, 3 Feb 2016 18:12:38 -0800 |
| 4 | Subject: [PATCH] avoid including <sys/poll.h> directly |
| 5 | |
| 6 | musl libc generates warnings if <sys/poll.h> is included directly. |
| 7 | |
| 8 | Upstream-Status: Pending |
| 9 | |
| 10 | Signed-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 | |
| 16 | diff --git a/ext/raw1394/gstdv1394src.c b/ext/raw1394/gstdv1394src.c |
| 17 | index 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> |
| 29 | diff --git a/ext/raw1394/gsthdv1394src.c b/ext/raw1394/gsthdv1394src.c |
| 30 | index 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 | -- |
| 43 | 1.9.1 |
| 44 | |