[vlc-commits] compat: poll: fix compilation

KO Myung-Hun git at videolan.org
Thu Aug 28 21:11:27 CEST 2014


vlc | branch: master | KO Myung-Hun <komh78 at gmail.com> | Thu Aug 28 19:15:58 2014 +0900| [5064767f8e2de7299bbb00652fd04ac5a70de4ce] | committer: Jean-Baptiste Kempf

compat: poll: fix compilation

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 compat/poll.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/compat/poll.c b/compat/poll.c
index 21e6d59..b88f7fd 100644
--- a/compat/poll.c
+++ b/compat/poll.c
@@ -36,6 +36,7 @@
 #else
 # include <sys/time.h>
 # include <sys/select.h>
+# include <fcntl.h>
 #endif
 
 int (poll) (struct pollfd *fds, unsigned nfds, int timeout)



More information about the vlc-commits mailing list