Skip to content

Commit fc97223

Browse files
authored
Merge pull request #2486 from gmittert/Import
Add WinSDK import for sockets
2 parents 35a9b33 + b57401f commit fc97223

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)