Skip to content

Commit 33b4ead

Browse files
authored
Merge pull request swiftlang#22326 from compnerd/notworking
Windows: extend WinSDK module further
2 parents 7c4d6f2 + d4660ef commit 33b4ead

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

stdlib/public/Platform/winsdk.modulemap

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@
1111
//===----------------------------------------------------------------------===//
1212

1313
module WinSDK [system] [extern_c] {
14+
module WinSock2 {
15+
header "WinSock2.h"
16+
header "WS2tcpip.h"
17+
export *
18+
}
19+
1420
module core {
1521
// api-ms-win-core-errhandling-l1-1-0.dll
1622
module errhandling {
@@ -42,6 +48,11 @@ module WinSDK [system] [extern_c] {
4248
export *
4349
}
4450

51+
module iphlp {
52+
header "iphlpapi.h"
53+
export *
54+
}
55+
4556
// api-ms-win-core-libloader-l1-1-0.dll
4657
module libloader {
4758
header "libloaderapi.h"

0 commit comments

Comments
 (0)