diff --git a/stdlib/public/Platform/ucrt.modulemap b/stdlib/public/Platform/ucrt.modulemap index b7b8fb02c29e4..796343a1ddc14 100644 --- a/stdlib/public/Platform/ucrt.modulemap +++ b/stdlib/public/Platform/ucrt.modulemap @@ -19,10 +19,39 @@ module _complex [system] [no_undeclared_includes] { export * } +module _fenv [system] [no_undeclared_includes] { + use _float + use corecrt + header "fenv.h" + export * +} + +module _float [system] [no_undeclared_includes] { + use corecrt + header "float.h" + export * +} + +module _malloc [system] [no_undeclared_includes] { + use corecrt + header "malloc.h" + export * +} + +module _stdlib [system] [no_undeclared_includes] { + use corecrt + header "stdlib.h" + export * +} + module ucrt [system] { module C { export _complex + export _fenv + export _float + export _malloc + export _stdlib module ctype { header "ctype.h"