diff --git a/GUI/Model/FromCore/ItemizeSample.cpp b/GUI/Model/FromCore/ItemizeSample.cpp
index c513c8ad20e4d2824d69fca87098563dccc5aaf5..dcfb0b5552339ca92b1214eae9c87c9a8e28cc9a 100644
--- a/GUI/Model/FromCore/ItemizeSample.cpp
+++ b/GUI/Model/FromCore/ItemizeSample.cpp
@@ -30,6 +30,7 @@
 #include "Sample/Interface/LayerRoughness.h"
 #include "Sample/Multilayer/Layer.h"
 #include "Sample/Multilayer/MultiLayer.h"
+#include "Sample/Particle/Compound.h"
 #include "Sample/Particle/CoreAndShell.h"
 #include "Sample/Particle/Crystal.h"
 #include "Sample/Particle/Mesocrystal.h"
diff --git a/GUI/Model/Sample/CompoundItem.cpp b/GUI/Model/Sample/CompoundItem.cpp
index 28f22dc9b5374737b5faf17226e24059388a19f4..da27f3f98febb111eefe10ebf13a920c538e269d 100644
--- a/GUI/Model/Sample/CompoundItem.cpp
+++ b/GUI/Model/Sample/CompoundItem.cpp
@@ -20,6 +20,7 @@
 #include "GUI/Model/Sample/MesocrystalItem.h"
 #include "GUI/Model/Sample/ParticleItem.h"
 #include "GUI/Model/Sample/ParticlesCatalog.h"
+#include "Sample/Particle/Compound.h"
 #include "Sample/Particle/CoreAndShell.h"
 #include "Sample/Particle/Mesocrystal.h"
 #include "Sample/Particle/Particle.h"
diff --git a/GUI/Model/Sample/CompoundItem.h b/GUI/Model/Sample/CompoundItem.h
index 1d3ef63e09aaa6a321e20137510a9741ab271d40..a14edcff50c8d0dffb32ec2cc1fe508d8fb4cec6 100644
--- a/GUI/Model/Sample/CompoundItem.h
+++ b/GUI/Model/Sample/CompoundItem.h
@@ -17,9 +17,9 @@
 
 #include "Base/Type/OwningVector.h"
 #include "GUI/Model/Sample/ItemWithParticles.h"
-#include "Sample/Particle/Compound.h"
 #include <memory>
 
+class Compound;
 class MaterialsSet;
 
 class CompoundItem : public ItemWithParticles {
diff --git a/GUI/Model/Sample/MesocrystalItem.cpp b/GUI/Model/Sample/MesocrystalItem.cpp
index 25eb86580f0091a4c91834723c2863bce0ff8126..6d830f45eec74a00889b8e1e9256bcc9b2cf753e 100644
--- a/GUI/Model/Sample/MesocrystalItem.cpp
+++ b/GUI/Model/Sample/MesocrystalItem.cpp
@@ -17,6 +17,7 @@
 #include "GUI/Model/Sample/CompoundItem.h"
 #include "GUI/Model/Sample/CoreAndShellItem.h"
 #include "GUI/Model/Sample/ParticleItem.h"
+#include "Sample/Particle/Compound.h"
 #include "Sample/Particle/CoreAndShell.h"
 #include "Sample/Particle/Crystal.h"
 #include "Sample/Particle/IFormFactor.h"
diff --git a/GUI/Model/ToCore/SampleToCore.cpp b/GUI/Model/ToCore/SampleToCore.cpp
index 0b2732036bbec1b070be793291a85ea749d702c5..04e4cb6b7461a73882a1a1d3cf5b2fc85edbf50c 100644
--- a/GUI/Model/ToCore/SampleToCore.cpp
+++ b/GUI/Model/ToCore/SampleToCore.cpp
@@ -33,6 +33,7 @@
 #include "Sample/Particle/IParticle.h"
 #include "Sample/Particle/Mesocrystal.h"
 #include "Sample/Particle/Particle.h"
+#include "Sample/Particle/Compound.h"
 
 namespace {
 
diff --git a/GUI/View/Realspace/RealspaceBuilder.cpp b/GUI/View/Realspace/RealspaceBuilder.cpp
index b0781300c5003881fcb8ffb2d8d3b0a89f880641..230d5c710bdc21378618d2f4e846e73fceffa0dd 100644
--- a/GUI/View/Realspace/RealspaceBuilder.cpp
+++ b/GUI/View/Realspace/RealspaceBuilder.cpp
@@ -30,6 +30,7 @@
 #include "Img3D/Model/ParticleFromFF.h"
 #include "Img3D/Type/SceneGeometry.h"
 #include "Sample/Aggregate/Interferences.h"
+#include "Sample/Particle/Compound.h"
 #include "Sample/Particle/CoreAndShell.h"
 #include "Sample/Particle/Mesocrystal.h"
 #include "Sample/Particle/Particle.h"