diff --git a/src/substrait/textplan/converter/SaveBinary.cpp b/src/substrait/textplan/converter/SaveBinary.cpp index 77f50109..a601685e 100644 --- a/src/substrait/textplan/converter/SaveBinary.cpp +++ b/src/substrait/textplan/converter/SaveBinary.cpp @@ -3,12 +3,15 @@ #include "substrait/textplan/converter/SaveBinary.h" #include -#include +#include +#include +#include +#include +#include #include #include -#include -#include +#include "substrait/proto/plan.pb.h" #include "substrait/textplan/StringManipulation.h" #include "substrait/textplan/SymbolTablePrinter.h" #include "substrait/textplan/converter/ParseBinary.h" diff --git a/src/substrait/textplan/converter/SaveBinary.h b/src/substrait/textplan/converter/SaveBinary.h index 0e8b83b3..8f51305b 100644 --- a/src/substrait/textplan/converter/SaveBinary.h +++ b/src/substrait/textplan/converter/SaveBinary.h @@ -3,7 +3,10 @@ #pragma once #include "absl/status/status.h" -#include "substrait/proto/plan.pb.h" + +namespace substrait::proto { +class Plan; +} namespace io::substrait::textplan {