diff --git a/src/entt/entity/group.hpp b/src/entt/entity/group.hpp index 24fb05a98..ab7ee9766 100644 --- a/src/entt/entity/group.hpp +++ b/src/entt/entity/group.hpp @@ -7,6 +7,7 @@ #include "../config/config.h" #include "../core/iterator.hpp" #include "../core/type_traits.hpp" +#include "component.hpp" #include "entity.hpp" #include "fwd.hpp" #include "sparse_set.hpp" diff --git a/src/entt/entity/snapshot.hpp b/src/entt/entity/snapshot.hpp index 41b10d575..474507ad7 100644 --- a/src/entt/entity/snapshot.hpp +++ b/src/entt/entity/snapshot.hpp @@ -11,6 +11,7 @@ #include "../config/config.h" #include "../container/dense_hash_map.hpp" #include "../core/type_traits.hpp" +#include "component.hpp" #include "entity.hpp" #include "fwd.hpp" #include "registry.hpp"