From 0a5c344a84a452452185f3a6bd7d7679a42abb42 Mon Sep 17 00:00:00 2001 From: Louis Dionne Date: Thu, 4 Aug 2022 16:57:27 -0400 Subject: [PATCH] [libc++] Add missing to the modulemap It used to be defined by the compiler, but libc++ now provides it. Differential Revision: https://reviews.llvm.org/D131201 --- libcxx/include/module.modulemap.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libcxx/include/module.modulemap.in b/libcxx/include/module.modulemap.in index 204fe408b1e7..83c6384433ce 100644 --- a/libcxx/include/module.modulemap.in +++ b/libcxx/include/module.modulemap.in @@ -59,7 +59,10 @@ module std [system] { // FIXME: is missing. // provided by C library. // provided by compiler. - // provided by compiler. + module stdbool_h { + // 's __bool_true_false_are_defined macro requires textual inclusion. + textual header "stdbool.h" + } module stddef_h { // 's __need_* macros require textual inclusion. textual header "stddef.h"