File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -78,9 +78,9 @@ version(OPENSSL_NO_SCTP) {} else {
78
78
version (Posix ) {
79
79
import core.sys.posix.netdb ;
80
80
} else version (Windows ) {
81
- import std.c .windows.winsock ;
81
+ import core.sys .windows.winsock2 ;
82
82
} else version (Win64 ) {
83
- import std.c .windows.winsock ;
83
+ import core.sys .windows.winsock2 ;
84
84
}
85
85
86
86
public import deimos.openssl.crypto;
Original file line number Diff line number Diff line change @@ -73,15 +73,15 @@ public import deimos.openssl.pqueue;
73
73
// #endif
74
74
version (Windows ) {
75
75
/* Needed for timeval */
76
- import std.c .windows.winsock ;
76
+ import core.sys .windows.winsock2 ;
77
77
// #elif defined(OPENSSL_SYS_NETWARE) && !defined(_WINSOCK2API_)
78
78
// #include <sys/timeval.h>
79
79
// #else
80
80
// #if defined(OPENSSL_SYS_VXWORKS)
81
81
// #include <sys/times.h>
82
82
// #else
83
83
} else version (Win64 ) {
84
- import std.c .windows.winsock ;
84
+ import core.sys .windows.winsock2 ;
85
85
} else {
86
86
import core.sys.posix.sys.time ;
87
87
}
You can’t perform that action at this time.
0 commit comments