From 0c303389d6ca97ba978d8f71ac0e1083d0349686 Mon Sep 17 00:00:00 2001 From: fredb Date: Sat, 8 Aug 2009 12:26:36 +0000 Subject: [PATCH] Compile under MSVC9 --- projects/VC90/SimGear.vcproj | 24 +++++++++++++++++++++++ simgear/scene/material/EffectBuilder.cxx | 6 ++++++ simgear/scene/material/TextureBuilder.cxx | 6 ++++++ 3 files changed, 36 insertions(+) diff --git a/projects/VC90/SimGear.vcproj b/projects/VC90/SimGear.vcproj index ab67e848..ccd3c26c 100644 --- a/projects/VC90/SimGear.vcproj +++ b/projects/VC90/SimGear.vcproj @@ -1195,6 +1195,14 @@ RelativePath="..\..\simgear\scene\material\Effect.hxx" > + + + + @@ -1247,6 +1255,14 @@ RelativePath="..\..\simgear\scene\material\matmodel.hxx" > + + + + @@ -1263,6 +1279,14 @@ RelativePath="..\..\simgear\scene\material\Technique.hxx" > + + + + +#endif + +#include + #include "EffectBuilder.hxx" #include "Effect.hxx" diff --git a/simgear/scene/material/TextureBuilder.cxx b/simgear/scene/material/TextureBuilder.cxx index 2ea23c6e..a6490c92 100644 --- a/simgear/scene/material/TextureBuilder.cxx +++ b/simgear/scene/material/TextureBuilder.cxx @@ -14,6 +14,10 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +#ifdef HAVE_CONFIG_H +# include +#endif + #include "TextureBuilder.hxx" #include @@ -28,6 +32,8 @@ #include #include +#include + #include "Noise.hxx" namespace simgear -- 2.39.5