[vlc-commits] Win32: fix compilation

Jean-Baptiste Kempf git at videolan.org
Thu Jul 7 00:09:13 CEST 2016


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Jul  7 00:05:26 2016 +0200| [15ea477ebb7622ab55207ff9591b7449425757d4] | committer: Jean-Baptiste Kempf

Win32: fix compilation

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

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

diff --git a/include/vlc_fixups.h b/include/vlc_fixups.h
index 2b4fe20..52209dc 100644
--- a/include/vlc_fixups.h
+++ b/include/vlc_fixups.h
@@ -322,8 +322,8 @@ void swab (const void *, void *, ssize_t);
 #ifndef HAVE_INET_PTON
 # ifndef _WIN32
 #  include <sys/socket.h>
-# else
-#  include <ws2tcpip.h>
+#else
+typedef int socklen_t;
 # endif
 int inet_pton(int, const char *, void *);
 const char *inet_ntop(int, const void *, char *, socklen_t);



More information about the vlc-commits mailing list