chromecast: always quit thread in Dead state
[vlc.git] / contrib / src / srt / 0001-channel.cpp-add-mswsock.h-for-Win32.patch
blob507311fbbbaff36f8c75f23a7422ea7ae3fa65b5
1 From a3f76dccdef8b2968a1c9d6961585ae9162e9eb3 Mon Sep 17 00:00:00 2001
2 From: Justin Kim <justin.kim@collabora.com>
3 Date: Thu, 23 Nov 2017 20:03:57 +0900
4 Subject: [PATCH] channel.cpp: add mswsock.h for Win32
6 For cross-compiling, 'mswsock.h' is required to use
7 MSG_TRUNC flag.
9 Signed-off-by: Justin Kim <justin.kim@collabora.com>
10 ---
11 srtcore/channel.cpp | 1 +
12 1 file changed, 1 insertion(+)
14 diff --git a/srtcore/channel.cpp b/srtcore/channel.cpp
15 index a15179b..07b0b96 100644
16 --- a/srtcore/channel.cpp
17 +++ b/srtcore/channel.cpp
18 @@ -75,6 +75,7 @@ modified by
19 #else
20 #include <winsock2.h>
21 #include <ws2tcpip.h>
22 + #include <mswsock.h>
23 #endif
25 #include <iostream>
26 --
27 2.7.4