diff --git a/core/utils/src/rootclingIO.cxx b/core/utils/src/rootclingIO.cxx
index 9ec0ef9dd31343d268f1b7df7814df579578ae49..2276b6be858bf85c1d9991a11dea36ab3ca7012d 100644
--- a/core/utils/src/rootclingIO.cxx
+++ b/core/utils/src/rootclingIO.cxx
@@ -17,6 +17,7 @@
 #include "TError.h"
 #include "TFile.h"
 #include "TProtoClass.h"
+#include "TROOT.h"
 #include "TStreamerInfo.h"
 #include "TClassEdit.h"
 #include <memory>