[vlc-commits] compat: poll: fix compilation
KO Myung-Hun
git at videolan.org
Thu Aug 28 21:13:30 CEST 2014
vlc/vlc-2.2 | branch: master | KO Myung-Hun <komh78 at gmail.com> | Thu Aug 28 19:15:58 2014 +0900| [5ffac32ccd82f921eebb943b6aa2cb2edf1d0293] | committer: Jean-Baptiste Kempf
compat: poll: fix compilation
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit 5064767f8e2de7299bbb00652fd04ac5a70de4ce)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=5ffac32ccd82f921eebb943b6aa2cb2edf1d0293
---
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