]> git.sesse.net Git - vlc/commitdiff
Win32: fix lua compilation
authorJean-Baptiste Kempf <jb@videolan.org>
Mon, 9 Aug 2010 08:47:29 +0000 (10:47 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 9 Aug 2010 08:47:29 +0000 (10:47 +0200)
modules/misc/lua/libs/net.c

index c23f4756b5f3716c5ed9dfc39595a4bbed8da5ad..ea635eecf8dc1db4b1c2089e18db18d011ebf92a 100644 (file)
 # 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>