diff --git a/components/sceneutil/shadow.cpp b/components/sceneutil/shadow.cpp index d3655dfb5c..7f356f51c4 100644 --- a/components/sceneutil/shadow.cpp +++ b/components/sceneutil/shadow.cpp @@ -9,6 +9,8 @@ #include +#include "mwshadowtechnique.hpp" + namespace SceneUtil { using namespace osgShadow; diff --git a/components/sceneutil/shadow.hpp b/components/sceneutil/shadow.hpp index 26e119d88b..acccd22037 100644 --- a/components/sceneutil/shadow.hpp +++ b/components/sceneutil/shadow.hpp @@ -7,10 +7,10 @@ #include #include -#include "mwshadowtechnique.hpp" - namespace SceneUtil { + class MWShadowTechnique; + class ShadowManager { public: