diff --git a/src/Context.h b/src/Context.h index e6837c6bb..55a43478a 100644 --- a/src/Context.h +++ b/src/Context.h @@ -37,6 +37,10 @@ #include "OpenGL.h" #include "magnumVisibility.h" +#ifdef CORRADE_GCC45_COMPATIBILITY +#include "Version.h" +#endif + namespace Magnum { /** @todoc Resolve conflict with Audio/Context.h (Doxygen doesn't list this file) */ diff --git a/src/Platform/AbstractXApplication.h b/src/Platform/AbstractXApplication.h index 46e03dc39..bffe59a99 100644 --- a/src/Platform/AbstractXApplication.h +++ b/src/Platform/AbstractXApplication.h @@ -41,6 +41,10 @@ #include "Math/Vector2.h" +#ifdef CORRADE_GCC45_COMPATIBILITY +#include "Version.h" +#endif + namespace Magnum { class Context; diff --git a/src/Platform/GlutApplication.h b/src/Platform/GlutApplication.h index acf8cd526..814d86556 100644 --- a/src/Platform/GlutApplication.h +++ b/src/Platform/GlutApplication.h @@ -38,6 +38,10 @@ #include "OpenGL.h" #include +#ifdef CORRADE_GCC45_COMPATIBILITY +#include "Version.h" +#endif + namespace Magnum { class Context; diff --git a/src/Platform/Sdl2Application.h b/src/Platform/Sdl2Application.h index fc10169ac..e9e14ad64 100644 --- a/src/Platform/Sdl2Application.h +++ b/src/Platform/Sdl2Application.h @@ -42,6 +42,10 @@ #include #include +#ifdef CORRADE_GCC45_COMPATIBILITY +#include "Version.h" +#endif + namespace Magnum { class Context; diff --git a/src/Shader.h b/src/Shader.h index 57680b960..ec8b0b33f 100644 --- a/src/Shader.h +++ b/src/Shader.h @@ -35,6 +35,10 @@ #include "Magnum.h" #include "magnumVisibility.h" +#ifdef CORRADE_GCC45_COMPATIBILITY +#include "Version.h" +#endif + namespace Magnum { /**