aboutsummaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorWilliam Huynh <William.Huynh@arm.com>2025-07-21 17:56:21 +0100
committerGitHub <noreply@github.com>2025-07-21 17:56:21 +0100
commit6932080866f46c198e8999d2882ba34a9b6c40e7 (patch)
tree8ab7846df08cb4c65c29249e878b0b1ebcb40c71 /libc
parent65420e5539088d3e156f6bdb3fd390d2354091f7 (diff)
downloadllvm-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.h2
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 {