diff --git a/explorer/ast/BUILD b/explorer/ast/BUILD index 0573410a31e1..0fecb13ec634 100644 --- a/explorer/ast/BUILD +++ b/explorer/ast/BUILD @@ -157,4 +157,5 @@ cc_library( cc_library( name = "expression_category", hdrs = ["expression_category.h"], + deps = ["@llvm-project//llvm:Support"], ) diff --git a/explorer/ast/expression_category.h b/explorer/ast/expression_category.h index 8cb6011dda89..0c21499ffb9f 100644 --- a/explorer/ast/expression_category.h +++ b/explorer/ast/expression_category.h @@ -5,7 +5,7 @@ #ifndef CARBON_EXPLORER_AST_EXPRESSION_CATEGORY_H_ #define CARBON_EXPLORER_AST_EXPRESSION_CATEGORY_H_ -#include +#include "llvm/ADT/StringRef.h" namespace Carbon { diff --git a/explorer/interpreter/interpreter.cpp b/explorer/interpreter/interpreter.cpp index e810fe0248b8..77f101e72046 100644 --- a/explorer/interpreter/interpreter.cpp +++ b/explorer/interpreter/interpreter.cpp @@ -4,8 +4,6 @@ #include "explorer/interpreter/interpreter.h" -#include - #include #include #include @@ -34,6 +32,7 @@ #include "llvm/Support/Casting.h" #include "llvm/Support/Error.h" #include "llvm/Support/FormatVariadic.h" +#include "llvm/Support/raw_ostream.h" using llvm::cast; using llvm::dyn_cast;