diff --git a/gcc/rust/backend/rust-compile-base.cc b/gcc/rust/backend/rust-compile-base.cc index ae166ba788e..82e07650d74 100644 --- a/gcc/rust/backend/rust-compile-base.cc +++ b/gcc/rust/backend/rust-compile-base.cc @@ -33,6 +33,7 @@ #include "rust-compile-implitem.h" #include "rust-attribute-values.h" #include "rust-immutable-name-resolution-context.h" +#include "rust-attributes.h" #include "fold-const.h" #include "stringpool.h"