From 35196b6a49b3103715f78b34987aac7d5d0849df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 16 Jan 2014 19:39:24 +0100 Subject: [PATCH] GCC 4.5 compatibility: fix includes. Forgotten in the latest merge. --- src/Magnum/MeshTools/FullScreenTriangle.h | 4 ++++ src/Magnum/Platform/AbstractXApplication.h | 2 +- src/Magnum/Platform/GlutApplication.h | 2 +- src/Magnum/Trade/MeshData2D.h | 2 +- src/Magnum/Trade/MeshData3D.h | 2 +- 5 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/Magnum/MeshTools/FullScreenTriangle.h b/src/Magnum/MeshTools/FullScreenTriangle.h index e89fd95b4..d77016f69 100644 --- a/src/Magnum/MeshTools/FullScreenTriangle.h +++ b/src/Magnum/MeshTools/FullScreenTriangle.h @@ -34,6 +34,10 @@ #include "Magnum/Magnum.h" #include "Magnum/MeshTools/visibility.h" +#ifdef CORRADE_GCC45_COMPATIBILITY +#include "Magnum/Version.h" +#endif + namespace Magnum { namespace MeshTools { /** diff --git a/src/Magnum/Platform/AbstractXApplication.h b/src/Magnum/Platform/AbstractXApplication.h index 426ef9a02..76b25552b 100644 --- a/src/Magnum/Platform/AbstractXApplication.h +++ b/src/Magnum/Platform/AbstractXApplication.h @@ -42,7 +42,7 @@ #include "Magnum/Math/Vector2.h" #ifdef CORRADE_GCC45_COMPATIBILITY -#include "Version.h" +#include "Magnum/Version.h" #endif namespace Magnum { diff --git a/src/Magnum/Platform/GlutApplication.h b/src/Magnum/Platform/GlutApplication.h index 9bf424974..fd5035522 100644 --- a/src/Magnum/Platform/GlutApplication.h +++ b/src/Magnum/Platform/GlutApplication.h @@ -39,7 +39,7 @@ #include #ifdef CORRADE_GCC45_COMPATIBILITY -#include "Version.h" +#include "Magnum/Version.h" #endif namespace Magnum { diff --git a/src/Magnum/Trade/MeshData2D.h b/src/Magnum/Trade/MeshData2D.h index a7e5ad498..72a77f488 100644 --- a/src/Magnum/Trade/MeshData2D.h +++ b/src/Magnum/Trade/MeshData2D.h @@ -34,7 +34,7 @@ #include "Magnum/visibility.h" #ifdef CORRADE_GCC45_COMPATIBILITY -#include "Mesh.h" +#include "Magnum/Mesh.h" #endif namespace Magnum { namespace Trade { diff --git a/src/Magnum/Trade/MeshData3D.h b/src/Magnum/Trade/MeshData3D.h index ab4bcac28..830015f4b 100644 --- a/src/Magnum/Trade/MeshData3D.h +++ b/src/Magnum/Trade/MeshData3D.h @@ -34,7 +34,7 @@ #include "Magnum/visibility.h" #ifdef CORRADE_GCC45_COMPATIBILITY -#include "Mesh.h" +#include "Magnum/Mesh.h" #endif namespace Magnum { namespace Trade {