diff --git a/Control/xAODRootAccess/Root/TEvent.cxx b/Control/xAODRootAccess/Root/TEvent.cxx
index 5362078370a96a67d4f91471fb0ada4eec1c674e..edc3b955897dd0b9b4adc1fd824ba666069ddbd4 100644
--- a/Control/xAODRootAccess/Root/TEvent.cxx
+++ b/Control/xAODRootAccess/Root/TEvent.cxx
@@ -27,6 +27,7 @@
 #include "AthContainers/normalizedTypeinfoName.h"
 #ifndef XAOD_STANDALONE
 #   include "SGTools/CurrentEventStore.h"
+#   include "SGTools/DataProxy.h"
 #endif // not XAOD_STANDALONE
 #include "CxxUtils/no_sanitize_undefined.h"
 
diff --git a/Tracking/Acts/ActsEvent/ActsEvent/Decoration.h b/Tracking/Acts/ActsEvent/ActsEvent/Decoration.h
index c25306ceee3cefc0b3d628158bccb5417aec5aa1..29576b0e8ec3da1f0d42e448ff22eadafa41c0c7 100644
--- a/Tracking/Acts/ActsEvent/ActsEvent/Decoration.h
+++ b/Tracking/Acts/ActsEvent/ActsEvent/Decoration.h
@@ -8,6 +8,7 @@
 #include "AthContainersInterfaces/IAuxStore.h"
 #include "AthContainersInterfaces/IConstAuxStore.h"
 #include "xAODCore/AuxContainerBase.h"
+#include <any>
 
 namespace ActsTrk {
 using IndexType = std::uint32_t;  // TODO take from a common header