diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_linux.cc b/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_linux.cc index 6c7ee9cf8051..5b2910d1f9f1 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_linux.cc +++ b/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_linux.cc @@ -20,6 +20,9 @@ #include "sanitizer_placement_new.h" #include "sanitizer_symbolizer.h" +// Android NDK r8e elf.h depends on stdint.h without including the latter. +#include + #include #include #include