NIOCore: add missing import for `IO` (#2129)

Import `ucrt` for access to `strerror` on Windows.
This commit is contained in:
Saleem Abdulrasool 2022-05-30 10:15:24 -07:00 committed by GitHub
parent 5f8608bf0b
commit 78c97a3cda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -13,6 +13,7 @@
//===----------------------------------------------------------------------===//
#if os(Windows)
import ucrt
import typealias WinSDK.DWORD
#elseif os(Linux) || os(Android)
import Glibc