diff --git a/build/unix/libc.modulemap b/build/unix/libc.modulemap index 6ea8259a2d55edcc3984218c704a9eb7445e6db9..effd2f83e3f0f4f0ae58c7c1b0fcae0ae90d1cb9 100644 --- a/build/unix/libc.modulemap +++ b/build/unix/libc.modulemap @@ -36,7 +36,11 @@ module "libc" [system] { export * header "stdio.h" } - module "time.h" { + module "stdlib.h" { + export * + textual header "stdlib.h" + } + module "time.h" { export * header "time.h" } @@ -44,6 +48,11 @@ module "libc" [system] { export * header "sys/stat.h" } + // System header that we have difficult with merging. + module "sys_types.h" { + export * + header "sys/types.h" + } } // glib specific header. In it's own module because it @@ -52,14 +61,3 @@ module "xlocale.h" [system] { export * header "xlocale.h" } - -// System header that we have difficult with merging. -module "sys_types.h" [system] { - export * - header "sys/types.h" -} - -module "stdlib.h" [system] { - export * - header "stdlib.h" -}