[libc-commits] [libc] 6932080 - [libc] Add dependency <stdint.h> to src/string/string_utils.h (#149849)
via libc-commits
libc-commits at lists.llvm.org
Mon Jul 21 09:56:24 PDT 2025
Author: William Huynh
Date: 2025-07-21T17:56:21+01:00
New Revision: 6932080866f46c198e8999d2882ba34a9b6c40e7
URL: https://github.com/llvm/llvm-project/commit/6932080866f46c198e8999d2882ba34a9b6c40e7
DIFF: https://github.com/llvm/llvm-project/commit/6932080866f46c198e8999d2882ba34a9b6c40e7.diff
LOG: [libc] Add dependency <stdint.h> to src/string/string_utils.h (#149849)
string_utils.h uses uintptr_t, and there seems to be no tracking of this
dependency. It seems upstream builds are unaffected but downstream this
is causing a lot of flaky builds.
Added:
Modified:
libc/src/string/string_utils.h
Removed:
################################################################################
diff --git a/libc/src/string/string_utils.h b/libc/src/string/string_utils.h
index 4f56263fce8ec..1231117586a7c 100644
--- a/libc/src/string/string_utils.h
+++ b/libc/src/string/string_utils.h
@@ -21,6 +21,8 @@
#include "src/__support/macros/config.h"
#include "src/__support/macros/optimization.h" // LIBC_UNLIKELY
+#include <stdint.h> // uintptr_t
+
namespace LIBC_NAMESPACE_DECL {
namespace internal {
More information about the libc-commits
mailing list