NIOCore: import the C library interfaces (#2158)
The socket address handling logic depends on multiple C library interfaces which requires the import of the C library. Add that on Windows. Co-authored-by: Cory Benfield <lukasa@apple.com>
This commit is contained in:
parent
544742cb5e
commit
b5a185b62b
|
@ -13,6 +13,8 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if os(Windows)
|
||||
import ucrt
|
||||
|
||||
import let WinSDK.AF_INET
|
||||
import let WinSDK.AF_INET6
|
||||
|
||||
|
|
Loading…
Reference in New Issue