lavf/rtpproto: Use the correct patch when including poll.h
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>
Mon, 14 Jan 2019 17:21:15 +0000 (18:21 +0100)
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>
Tue, 15 Jan 2019 23:09:21 +0000 (00:09 +0100)
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

index e706300..1f0a82a 100644 (file)
@@ -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 {