Hi! Attached patch fixes a warning when compiling with musl.
Please comment, Carl Eugen
From 91aabded879973cd266988790e894fe687c69a0d Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos <ceffm...@gmail.com> Date: Mon, 14 Jan 2019 18:21:15 +0100 Subject: [PATCH] lavf/rtpproto: Use the correct patch when including poll.h Fixes a warning using musl: In file included from libavformat/rtpproto.c:43:0: /usr/local/musl/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> --- libavformat/rtpproto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/rtpproto.c b/libavformat/rtpproto.c index e706300..1f0a82a 100644 --- a/libavformat/rtpproto.c +++ b/libavformat/rtpproto.c @@ -40,7 +40,7 @@ #include "os_support.h" #include <fcntl.h> #if HAVE_POLL_H -#include <sys/poll.h> +#include <poll.h> #endif typedef struct RTPContext { -- 1.7.10.4
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel