diff --git a/compiler-rt/lib/scudo/standalone/primary32.h b/compiler-rt/lib/scudo/standalone/primary32.h index 645c3968ce3e1..4385f4aa58450 100644 --- a/compiler-rt/lib/scudo/standalone/primary32.h +++ b/compiler-rt/lib/scudo/standalone/primary32.h @@ -20,6 +20,7 @@ #include "stats.h" #include "string_utils.h" #include "thread_annotations.h" +#include "tracing.h" namespace scudo { diff --git a/compiler-rt/lib/scudo/standalone/tracing.h b/compiler-rt/lib/scudo/standalone/tracing.h index ac1f746128823..6bcdab0417e9b 100644 --- a/compiler-rt/lib/scudo/standalone/tracing.h +++ b/compiler-rt/lib/scudo/standalone/tracing.h @@ -9,6 +9,8 @@ #ifndef SCUDO_TRACING_H_ #define SCUDO_TRACING_H_ +#include "common.h" + #if defined(SCUDO_ENABLE_TRACING) // This file must include definitions for all of the functions below.