From: Torsten Dreyer Date: Sun, 27 Jun 2010 13:02:59 +0000 (+0200) Subject: Fix build on Windows X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f6ea868804e90235dc9d5deec0f07700833fb7bb;p=flightgear.git Fix build on Windows Add missing includes. Thanks to Alan Teeder --- 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