diff --git a/PhysicsAnalysis/D3PDMaker/egammaD3PDMaker/CMakeLists.txt b/PhysicsAnalysis/D3PDMaker/egammaD3PDMaker/CMakeLists.txt
index bfdeb30d820a093f88cc5e8ebcbe272618cc768d..cbbc9ff030e42e78c781658397862a0a8baef500 100644
--- a/PhysicsAnalysis/D3PDMaker/egammaD3PDMaker/CMakeLists.txt
+++ b/PhysicsAnalysis/D3PDMaker/egammaD3PDMaker/CMakeLists.txt
@@ -11,7 +11,6 @@ atlas_depends_on_subdirs( PRIVATE
                           Calorimeter/CaloTrackingGeometry
                           Control/AthenaKernel
                           Control/Navigation
-                          Control/SGTools
                           Control/StoreGate
                           Event/EventKernel
                           Event/FourMomUtils
@@ -45,7 +44,7 @@ atlas_add_component( egammaD3PDMaker
                      src/*.cxx
                      src/components/*.cxx
                      INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS}
-                     LINK_LIBRARIES ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} CaloIdentifier AthenaKernel Navigation SGTools StoreGateLib SGtests EventKernel FourMomUtils xAODBase xAODCaloEvent xAODEgamma xAODJet xAODTracking xAODTruth GaudiKernel AnalysisTriggerEvent D3PDMakerUtils TriggerD3PDMakerLib MCTruthClassifierLib egammaEvent TrkParameters TrkExInterfaces TrkVertexFitterInterfaces TrigObjectMatchingLib TrigCaloEvent TrigInDetEvent TrigParticle )
+                     LINK_LIBRARIES ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} CaloIdentifier AthenaKernel Navigation StoreGateLib SGtests EventKernel FourMomUtils xAODBase xAODCaloEvent xAODEgamma xAODJet xAODTracking xAODTruth GaudiKernel AnalysisTriggerEvent D3PDMakerUtils TriggerD3PDMakerLib MCTruthClassifierLib egammaEvent TrkParameters TrkExInterfaces TrkVertexFitterInterfaces TrigObjectMatchingLib TrigCaloEvent TrigInDetEvent TrigParticle )
 
 # Install files from the package:
 atlas_install_python_modules( python/*.py )
diff --git a/PhysicsAnalysis/D3PDMaker/egammaD3PDMaker/src/egammaInheritance.cxx b/PhysicsAnalysis/D3PDMaker/egammaD3PDMaker/src/egammaInheritance.cxx
index d3e1cb9bb6105f87b029633035f086405ebbcc8e..8c28c1cfa5fea6012579eae078ce038abd0c9733 100644
--- a/PhysicsAnalysis/D3PDMaker/egammaD3PDMaker/src/egammaInheritance.cxx
+++ b/PhysicsAnalysis/D3PDMaker/egammaD3PDMaker/src/egammaInheritance.cxx
@@ -1,5 +1,5 @@
 /*
-  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
+  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
 */
 
 // $Id$
@@ -22,7 +22,7 @@
 #include "AnalysisTriggerEvent/EmTau_ROI.h"
 #include "EventKernel/INavigable4Momentum.h"
 #include "Navigation/IAthenaBarCode.h"
-#include "SGTools/BaseInfo.h"
+#include "AthenaKernel/BaseInfo.h"
 #include "xAODBase/IParticle.h"
 #include "xAODEgamma/Electron.h"