[vlc-commits] Missing poll() declaration

Rémi Denis-Courmont git at videolan.org
Tue Jan 24 16:51:21 CET 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Jan 24 17:51:12 2012 +0200| [b0623ca0851e47b8d2d7110c4d54c03b69751149] | committer: Rémi Denis-Courmont

Missing poll() declaration

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

 include/vlc_fixups.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/include/vlc_fixups.h b/include/vlc_fixups.h
index 9a3ed8a..74650ae 100644
--- a/include/vlc_fixups.h
+++ b/include/vlc_fixups.h
@@ -274,6 +274,10 @@ struct pollfd
     unsigned revents;
 };
 #endif
+#ifndef HAVE_POLL
+struct pollfd;
+int poll (struct pollfd *, unsigned, int);
+#endif
 
 #ifndef HAVE_IF_NAMEINDEX
 #include <errno.h>



More information about the vlc-commits mailing list