[vlc-commits] contrib: shout: better fix the winstore build

Steve Lhomme git at videolan.org
Wed Mar 20 11:13:16 CET 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Mar  7 09:26:22 2019 +0100| [a24ce36fc2bc8ab0e49d1a2af64fd7b7ed1cf5c8] | committer: Steve Lhomme

contrib: shout: better fix the winstore build

The fix was missing from sock.c

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

 contrib/src/shout/should-win32-ws2tcpip.patch | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/contrib/src/shout/should-win32-ws2tcpip.patch b/contrib/src/shout/should-win32-ws2tcpip.patch
index f45a869753..550054ac1c 100644
--- a/contrib/src/shout/should-win32-ws2tcpip.patch
+++ b/contrib/src/shout/should-win32-ws2tcpip.patch
@@ -8,3 +8,13 @@
  #endif
  
  #ifndef NO_THREAD
+--- libshout.nok/src/common/net/sock.c.ws2tcpip	2019-03-06 13:20:11.624823900 +0100
++++ libshout.nok/src/common/net/sock.c	2019-03-07 07:21:23.841338100 +0100
+@@ -57,6 +57,7 @@
+ #include <netdb.h>
+ #else
+ #include <winsock2.h>
++#include <ws2tcpip.h>
+ #endif
+ 
+ #include "sock.h"



More information about the vlc-commits mailing list