[FFmpeg-cvslog] lavf/rtpproto: Use the correct patch when including poll.h

Carl Eugen Hoyos git at videolan.org
Wed Jan 16 01:09:44 EET 2019


ffmpeg | branch: master | Carl Eugen Hoyos <ceffmpeg at gmail.com> | Mon Jan 14 18:21:15 2019 +0100| [06f65a17a38a462cee0c7c252b2d679e905c6de7] | committer: Carl Eugen Hoyos

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>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=06f65a17a38a462cee0c7c252b2d679e905c6de7
---

 libavformat/rtpproto.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/rtpproto.c b/libavformat/rtpproto.c
index e706300a77..1f0a82ac7e 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 {



More information about the ffmpeg-cvslog mailing list