From 9fb3f47f506cc68aa71af3a32dfb89c8f12d3d3c Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Mon, 17 Mar 2025 11:23:31 -0700 Subject: [PATCH] Headers: use `corecrt_malloc.h` instead of `malloc.h` Rather than adding a dependency on `ucrt`, shuffle down a layer to `corecrt`. This may help restore the ability to modularise the Windows SDK. --- clang/lib/Headers/mm_malloc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/lib/Headers/mm_malloc.h b/clang/lib/Headers/mm_malloc.h index d32fe59416277..4052995fff5cd 100644 --- a/clang/lib/Headers/mm_malloc.h +++ b/clang/lib/Headers/mm_malloc.h @@ -13,7 +13,7 @@ #include #ifdef _WIN32 -#include +#include #else #ifndef __cplusplus extern int posix_memalign(void **__memptr, size_t __alignment, size_t __size);