mirror of
https://github.com/apple/swift-nio
synced 2026-11-28 05:14:23 +00:00
NIOCore: add missing import on Windows (#2215)
We did not import `WinSDK` which provides the socketing interfaces. This allows building `NIOCore` on Windows again.
This commit is contained in:
1 parent
33fc191001
commit
f4b0d661c1
1 file changed
+2
@@ -15,6 +15,8 @@
|
||||
import Darwin
|
||||
#elseif os(Linux) || os(Android)
|
||||
import Glibc
|
||||
#elseif os(Windows)
|
||||
import WinSDK
|
||||
#endif
|
||||
|
||||
/// This protocol defines an object, most commonly a `Channel`, that supports
|
||||
|
||||
Reference in new issue
Block a user