diff --git a/core/base/CbmMatchRecoToMC.cxx b/core/base/CbmMatchRecoToMC.cxx
index 168d43c8379827cca8a1fb0782d62d0e3208b951..7a1ba0aff0921bf7ad340258f8623602db5fff6d 100644
--- a/core/base/CbmMatchRecoToMC.cxx
+++ b/core/base/CbmMatchRecoToMC.cxx
@@ -38,6 +38,7 @@
 #include <boost/type_index/type_index_facade.hpp>  // for operator==
 
 #include <algorithm>  // for find
+#include <iomanip>    // for std::setw
 
 using std::pair;
 using std::vector;