From 971833856089b9ce260dd4dc5a8f2d1de1c251d7 Mon Sep 17 00:00:00 2001 From: fredb Date: Sun, 26 Jul 2009 18:54:55 +0000 Subject: [PATCH] Compile under MSVC9 --- projects/VC90/UGsmooth/UGsmooth.vcproj | 8 ++++---- projects/VC90/fgjs/fgjs.vcproj | 8 ++++---- projects/VC90/yasim/yasim.vcproj | 8 ++++---- src/FDM/JSBSim/input_output/FGPropertyManager.h | 7 ++++++- src/FDM/YASim/yasim-test.cpp | 2 ++ src/GUI/layout-props.cxx | 1 + src/GUI/layout.cxx | 7 +++++++ src/Main/bootstrap.cxx | 1 + src/Main/fg_props.hxx | 1 + src/Model/model_panel.cxx | 1 + src/Scenery/SceneryPager.cxx | 5 +++++ utils/GPSsmooth/UGear_telnet.cxx | 1 + 12 files changed, 37 insertions(+), 13 deletions(-) diff --git a/projects/VC90/UGsmooth/UGsmooth.vcproj b/projects/VC90/UGsmooth/UGsmooth.vcproj index fdce7277a..62c4959dc 100644 --- a/projects/VC90/UGsmooth/UGsmooth.vcproj +++ b/projects/VC90/UGsmooth/UGsmooth.vcproj @@ -44,7 +44,7 @@ +#endif + #include #include -#include "simgear/props/props.hxx" +#include +#include #include "FGJSBBase.h" diff --git a/src/FDM/YASim/yasim-test.cpp b/src/FDM/YASim/yasim-test.cpp index 095887341..883326ade 100644 --- a/src/FDM/YASim/yasim-test.cpp +++ b/src/FDM/YASim/yasim-test.cpp @@ -10,6 +10,8 @@ #include "Atmosphere.hpp" #include "Airplane.hpp" +#include + using namespace yasim; // Stubs. Not needed by a batch program, but required to link. diff --git a/src/GUI/layout-props.cxx b/src/GUI/layout-props.cxx index 2d691036f..d32eac552 100644 --- a/src/GUI/layout-props.cxx +++ b/src/GUI/layout-props.cxx @@ -4,6 +4,7 @@ #include #include +#include #include "layout.hxx" diff --git a/src/GUI/layout.cxx b/src/GUI/layout.cxx index 5bfd35243..aac89f550 100644 --- a/src/GUI/layout.cxx +++ b/src/GUI/layout.cxx @@ -1,5 +1,12 @@ + +#ifdef HAVE_CONFIG_H +# include +#endif + #include "layout.hxx" +#include + // This file contains the actual layout engine. It has no dependence // on outside libraries; see layout-props.cxx for the glue code. diff --git a/src/Main/bootstrap.cxx b/src/Main/bootstrap.cxx index dc0723f37..c42a68502 100644 --- a/src/Main/bootstrap.cxx +++ b/src/Main/bootstrap.cxx @@ -42,6 +42,7 @@ #include #include #include +#include #include #include diff --git a/src/Main/fg_props.hxx b/src/Main/fg_props.hxx index f1d6217c5..6fa9001f8 100644 --- a/src/Main/fg_props.hxx +++ b/src/Main/fg_props.hxx @@ -9,6 +9,7 @@ #include #include +#include #include
diff --git a/src/Model/model_panel.cxx b/src/Model/model_panel.cxx index 230413908..8a581d2f4 100644 --- a/src/Model/model_panel.cxx +++ b/src/Model/model_panel.cxx @@ -14,6 +14,7 @@ #include #include #include +#include #include "panelnode.hxx" #include "model_panel.hxx" diff --git a/src/Scenery/SceneryPager.cxx b/src/Scenery/SceneryPager.cxx index e63969e62..577677f9e 100644 --- a/src/Scenery/SceneryPager.cxx +++ b/src/Scenery/SceneryPager.cxx @@ -16,7 +16,12 @@ // 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 +#include #include "SceneryPager.hxx" #include #include diff --git a/utils/GPSsmooth/UGear_telnet.cxx b/utils/GPSsmooth/UGear_telnet.cxx index fe52c57c0..42a40edf4 100644 --- a/utils/GPSsmooth/UGear_telnet.cxx +++ b/utils/GPSsmooth/UGear_telnet.cxx @@ -25,6 +25,7 @@ #include #include +#include #include