diff --git a/src/meshTools/directMapped/directMappedPolyPatch/directMappedPolyPatch.C b/src/meshTools/directMapped/directMappedPolyPatch/directMappedPolyPatch.C index 03e601a39..e6333a42c 100644 --- a/src/meshTools/directMapped/directMappedPolyPatch/directMappedPolyPatch.C +++ b/src/meshTools/directMapped/directMappedPolyPatch/directMappedPolyPatch.C @@ -25,6 +25,7 @@ License #include "directMappedPolyPatch.H" #include "addToRunTimeSelectionTable.H" +#include "objectRegistry.H" #include "Time.H" #include "polyMesh.H" #include "polyBoundaryMesh.H" diff --git a/src/meshTools/directMapped/directMappedPolyPatch/directMappedWallPolyPatch.C b/src/meshTools/directMapped/directMappedPolyPatch/directMappedWallPolyPatch.C index 3bce4e694..691ad43fe 100644 --- a/src/meshTools/directMapped/directMappedPolyPatch/directMappedWallPolyPatch.C +++ b/src/meshTools/directMapped/directMappedPolyPatch/directMappedWallPolyPatch.C @@ -25,6 +25,7 @@ License #include "directMappedWallPolyPatch.H" #include "addToRunTimeSelectionTable.H" +#include "objectRegistry.H" #include "Time.H" #include "polyMesh.H" #include "polyBoundaryMesh.H"