[vlc-devel] [PATCH] missing: handle vlc_poll()

Pierre Ynard linkfanel at yahoo.fr
Mon Jan 23 05:28:42 CET 2012


diff --git a/src/missing.c b/src/missing.c
index f630aa4..a4d0cc4 100644
--- a/src/missing.c
+++ b/src/missing.c
@@ -472,3 +472,17 @@ ml_person_t*  ml_GetPersonsFromMedia( media_library_t* p_ml,
     return NULL;
 }
 #endif /* !MEDIA_LIBRARY */
+
+#ifdef HAVE_POLL
+# include <vlc_network.h>
+
+struct pollfd;
+
+int vlc_poll (struct pollfd *fds, unsigned nfds, int timeout)
+{
+    (void)fds; (void)nfds; (void)timeout;
+    assert (0);
+}
+
+#endif /* HAVE_POLL */
+


Regards,

-- 
Pierre Ynard
"Une âme dans un corps, c'est comme un dessin sur une feuille de papier."



More information about the vlc-devel mailing list