[libc-commits] [libc] 91a9f65 - [libc] add missing header to alloc-checker (#173400)
via libc-commits
libc-commits at lists.llvm.org
Tue Dec 23 10:43:04 PST 2025
Author: Kyungtak Woo
Date: 2025-12-23T12:43:00-06:00
New Revision: 91a9f656fc7d32433bda7b0332099e9dbee8da53
URL: https://github.com/llvm/llvm-project/commit/91a9f656fc7d32433bda7b0332099e9dbee8da53
DIFF: https://github.com/llvm/llvm-project/commit/91a9f656fc7d32433bda7b0332099e9dbee8da53.diff
LOG: [libc] add missing header to alloc-checker (#173400)
Adding `#include "src/__support/CPP/new.h"` due to align_val_t usage
within alloc-checker.h
Added:
Modified:
libc/src/__support/alloc-checker.h
Removed:
################################################################################
diff --git a/libc/src/__support/alloc-checker.h b/libc/src/__support/alloc-checker.h
index ecef094453cc8..0c4c22edff786 100644
--- a/libc/src/__support/alloc-checker.h
+++ b/libc/src/__support/alloc-checker.h
@@ -11,6 +11,7 @@
#include "hdr/func/aligned_alloc.h"
#include "hdr/func/malloc.h"
+#include "src/__support/CPP/new.h"
#include "src/__support/common.h"
#include "src/__support/macros/config.h"
#include "src/__support/macros/properties/os.h"
More information about the libc-commits
mailing list