Skip to content

Commit 066a001

Browse files
committed
FoundationNetworking: repair the build on Windows
Import WinSDK to enable import of networking APIs for Windows.
1 parent 06ccad8 commit 066a001

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Foundation/HTTPCookie.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ import SwiftFoundation
1313
import Foundation
1414
#endif
1515

16+
#if os(Windows)
17+
import WinSDK
18+
#endif
19+
1620
public struct HTTPCookiePropertyKey : RawRepresentable, Equatable, Hashable {
1721
public private(set) var rawValue: String
1822

0 commit comments

Comments
 (0)