[vlc-commits] commit: Win32: fix lua compilation (Jean-Baptiste Kempf )
git at videolan.org
git at videolan.org
Mon Aug 9 10:48:21 CEST 2010
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Aug 9 10:47:29 2010 +0200| [9d34c9bb90611066ed48f7e2631a5bf427fbddfd] | committer: Jean-Baptiste Kempf
Win32: fix lua compilation
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9d34c9bb90611066ed48f7e2631a5bf427fbddfd
---
modules/misc/lua/libs/net.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/modules/misc/lua/libs/net.c b/modules/misc/lua/libs/net.c
index c23f475..ea635ee 100644
--- a/modules/misc/lua/libs/net.c
+++ b/modules/misc/lua/libs/net.c
@@ -32,6 +32,10 @@
# include "config.h"
#endif
+#ifdef WIN32
+#include <io.h>
+#endif
+
#include <vlc_common.h>
#include <vlc_network.h>
#include <vlc_url.h>
@@ -43,6 +47,7 @@
#ifdef HAVE_POLL
#include <poll.h> /* poll structures and defines */
#endif
+
#include <sys/stat.h>
#include<errno.h>
More information about the vlc-commits
mailing list