From f6ea868804e90235dc9d5deec0f07700833fb7bb Mon Sep 17 00:00:00 2001 From: Torsten Dreyer Date: Sun, 27 Jun 2010 15:02:59 +0200 Subject: [PATCH] Fix build on Windows Add missing includes. Thanks to Alan Teeder --- src/Autopilot/inputvalue.hxx | 5 +++++ src/Autopilot/logic.hxx | 4 ++++ src/FDM/flightProperties.hxx | 4 ++++ 3 files changed, 13 insertions(+) diff --git a/src/Autopilot/inputvalue.hxx b/src/Autopilot/inputvalue.hxx index 40c0377ad..bdf0b6382 100644 --- a/src/Autopilot/inputvalue.hxx +++ b/src/Autopilot/inputvalue.hxx @@ -21,6 +21,11 @@ #ifndef _INPUTVALUE_HXX #define _INPUTVALUE_HXX 1 +#ifdef HAVE_CONFIG_H +# include +#endif + + #include namespace FGXMLAutopilot { diff --git a/src/Autopilot/logic.hxx b/src/Autopilot/logic.hxx index ac4591458..34c27c10d 100644 --- a/src/Autopilot/logic.hxx +++ b/src/Autopilot/logic.hxx @@ -23,6 +23,10 @@ #include "digitalcomponent.hxx" +#ifdef HAVE_CONFIG_H +# include +#endif + namespace FGXMLAutopilot { /** diff --git a/src/FDM/flightProperties.hxx b/src/FDM/flightProperties.hxx index de960848f..c34efa606 100644 --- a/src/FDM/flightProperties.hxx +++ b/src/FDM/flightProperties.hxx @@ -1,6 +1,10 @@ #ifndef FG_FLIGHT_PROPERTIES_HXX #define FG_FLIGHT_PROPERTIES_HXX +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include // for SGVec3d #include -- 2.39.5