Skip to content

Commit b57401f

Browse files
committed
Add WinSDK import for sockets
1 parent 35a9b33 commit b57401f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

TestFoundation/TestSocketPort.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
// See http://swift.org/LICENSE.txt for license information
77
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
88
//
9+
#if os(Windows)
10+
import WinSDK
11+
#endif
912

1013
class TestPortDelegateWithBlock: NSObject, PortDelegate {
1114
let block: (PortMessage) -> Void

0 commit comments

Comments
 (0)