From e1bc0b64e9dc594d1714c2ee2870d2a79a5b2414 Mon Sep 17 00:00:00 2001 From: 3405691582 Date: Sat, 9 Jul 2022 14:48:08 -0400 Subject: [PATCH] [stdlib] Properly identify assert.h. This should be qualified with GLIBC_INCLUDE_PATH, otherwise it will look for assert.h relative to the modulemap file, which is likely not what was intended. Partially buildfixes OpenBSD and FreeBSD. --- stdlib/public/Platform/glibc.modulemap.gyb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/public/Platform/glibc.modulemap.gyb b/stdlib/public/Platform/glibc.modulemap.gyb index e745aac1dbc88..26a846911302a 100644 --- a/stdlib/public/Platform/glibc.modulemap.gyb +++ b/stdlib/public/Platform/glibc.modulemap.gyb @@ -44,7 +44,7 @@ module SwiftGlibc [system] { header "SwiftGlibc.h" // 's use of NDEBUG requires textual inclusion. - textual header "assert.h" + textual header "${GLIBC_INCLUDE_PATH}/assert.h" export * }