raw1394: avoid including <sys/poll.h> directly
authorAndre McCurdy <armccurdy@gmail.com>
Thu, 4 Feb 2016 02:12:38 +0000 (18:12 -0800)
committerEdward Hervey <bilboed@bilboed.com>
Sat, 19 May 2018 09:22:39 +0000 (11:22 +0200)
Note from Edward Hervey: Patch from git.yoctoproject.org

musl libc generates warnings if <sys/poll.h> is included directly.

Upstream-Status: Pending

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
ext/raw1394/gstdv1394src.c
ext/raw1394/gsthdv1394src.c

index bee1af1..30c443a 100644 (file)
@@ -37,7 +37,7 @@
 #include "config.h"
 #endif
 #include <unistd.h>
-#include <sys/poll.h>
+#include <poll.h>
 #include <sys/socket.h>
 #include <errno.h>
 #include <fcntl.h>
index 04ceb4f..e9e3980 100644 (file)
@@ -36,7 +36,7 @@
 #include "config.h"
 #endif
 #include <unistd.h>
-#include <sys/poll.h>
+#include <poll.h>
 #include <sys/socket.h>
 #include <errno.h>
 #include <fcntl.h>