[vlc-commits] rtp: add missing HAVE_POLL guard

Rémi Denis-Courmont git at videolan.org
Sat Jun 6 11:05:18 CEST 2020


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jun  6 12:05:10 2020 +0300| [659b4f57db0778e24e52b9bbd2eb895cd5d6898c] | committer: Rémi Denis-Courmont

rtp: add missing HAVE_POLL guard

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=659b4f57db0778e24e52b9bbd2eb895cd5d6898c
---

 modules/access/rtp/datagram.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/access/rtp/datagram.c b/modules/access/rtp/datagram.c
index b6f1e37e17..b53dcdae3f 100644
--- a/modules/access/rtp/datagram.c
+++ b/modules/access/rtp/datagram.c
@@ -24,7 +24,9 @@
 
 #include <errno.h>
 #include <stdlib.h>
+#ifdef HAVE_POLL
 #include <poll.h>
+#endif
 
 #include <vlc_common.h>
 #include <vlc_network.h>



More information about the vlc-commits mailing list