From 40997adac415d56c44e5eba9c3d0dd9f0deb0f1d Mon Sep 17 00:00:00 2001 From: Torsten Dreyer Date: Sun, 27 Jun 2010 14:55:06 +0200 Subject: [PATCH] Fix build on Windows Add missing includes. Thanks to Alan Teeder --- src/Autopilot/inputvalue.hxx | 5 +++++ src/Autopilot/logic.hxx | 4 ++++ 2 files changed, 9 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 { /**