Commit 45df2237bfe4bcb9df1c2f68b0d47ef0e4f3f78d

Aki Koskinen 2015-02-27T10:53:39

Include ws2tcpip.h in order to get in6_addr It's currently required in src/openssl_stream.c only.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/common.h b/src/common.h
index 98109ae..cdfc136 100644
--- a/src/common.h
+++ b/src/common.h
@@ -38,6 +38,7 @@
 # include <direct.h>
 # include <winsock2.h>
 # include <windows.h>
+# include <ws2tcpip.h>
 # include "win32/msvc-compat.h"
 # include "win32/mingw-compat.h"
 # include "win32/error.h"