diff --git a/src/analyserequationast.cpp b/src/analyserequationast.cpp index f543f766f1..ccb0a915a6 100644 --- a/src/analyserequationast.cpp +++ b/src/analyserequationast.cpp @@ -18,8 +18,6 @@ limitations under the License. #include "analyserequationast_p.h" -#include "libcellml/undefines.h" - namespace libcellml { void AnalyserEquationAst::AnalyserEquationAstImpl::populate(AnalyserEquationAst::Type type, diff --git a/src/bindings/interface/analyserequationast.i b/src/bindings/interface/analyserequationast.i index 3d064c706f..d8d42695f6 100644 --- a/src/bindings/interface/analyserequationast.i +++ b/src/bindings/interface/analyserequationast.i @@ -53,6 +53,9 @@ "Swaps the left and right children of this :class:`AnalyserEquationAst` object."; %{ +#include +#include + #include "libcellml/analyserequationast.h" %}