diff options
author | William Huynh <William.Huynh@arm.com> | 2025-07-21 17:56:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-21 17:56:21 +0100 |
commit | 6932080866f46c198e8999d2882ba34a9b6c40e7 (patch) | |
tree | 8ab7846df08cb4c65c29249e878b0b1ebcb40c71 /libc | |
parent | 65420e5539088d3e156f6bdb3fd390d2354091f7 (diff) | |
download | llvm-6932080866f46c198e8999d2882ba34a9b6c40e7.zip llvm-6932080866f46c198e8999d2882ba34a9b6c40e7.tar.gz llvm-6932080866f46c198e8999d2882ba34a9b6c40e7.tar.bz2 |
[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.
Diffstat (limited to 'libc')
-rw-r--r-- | libc/src/string/string_utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/src/string/string_utils.h b/libc/src/string/string_utils.h index 4f56263..1231117 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 { |