diff --git a/DDCore/src/DD4hepRootPersistency.cpp b/DDCore/src/DD4hepRootPersistency.cpp
index e58fe3b5487683c84193e18d5198066036891618..15d449ab41331e1e7c86be0cc690f6abb7d9f579 100644
--- a/DDCore/src/DD4hepRootPersistency.cpp
+++ b/DDCore/src/DD4hepRootPersistency.cpp
@@ -20,6 +20,7 @@
 // ROOT include files
 #include "TFile.h"
 #include "TTimeStamp.h"
+#include <memory>
 
 ClassImp(DD4hepRootPersistency)