NIOCore: add missing import for `IO` (#2129)
Import `ucrt` for access to `strerror` on Windows.
This commit is contained in:
parent
5f8608bf0b
commit
78c97a3cda
|
@ -13,6 +13,7 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if os(Windows)
|
||||
import ucrt
|
||||
import typealias WinSDK.DWORD
|
||||
#elseif os(Linux) || os(Android)
|
||||
import Glibc
|
||||
|
|
Loading…
Reference in New Issue