diff --git a/benchmarks/dvcs/analysis/dvcs_tests.cxx b/benchmarks/dvcs/analysis/dvcs_tests.cxx
index 2ebf9f45f73b91baf65fa56eb9b111da7025e7dc..d0d7d7cfa2d965ba442d06d51f550baa530b759f 100644
--- a/benchmarks/dvcs/analysis/dvcs_tests.cxx
+++ b/benchmarks/dvcs/analysis/dvcs_tests.cxx
@@ -4,6 +4,8 @@
 #include <vector>
 
 #include "ROOT/RDataFrame.hxx"
+#include "Math/Vector4D.h"
+#include "TCanvas.h"
 
 #include <nlohmann/json.hpp>
 using json = nlohmann::json;
diff --git a/benchmarks/u_omega/analysis/demo.cxx b/benchmarks/u_omega/analysis/demo.cxx
index e6d1863dc0999fe9fe719913a45f3531cf8fcf87..3d21f88cd3153c7211c76507be660cff607151f2 100644
--- a/benchmarks/u_omega/analysis/demo.cxx
+++ b/benchmarks/u_omega/analysis/demo.cxx
@@ -5,6 +5,7 @@
 
 #include "ROOT/RDataFrame.hxx"
 #include "Math/Vector4D.h"
+#include "TCanvas.h"
 
 #include <nlohmann/json.hpp>
 using json = nlohmann::json;