From c3b9676e22aa4d6165484dbca4dfb58d48d1516b Mon Sep 17 00:00:00 2001 From: Torsten Dreyer Date: Tue, 29 Jun 2010 17:42:04 +0200 Subject: [PATCH] One more try to fix the Windows build --- src/Autopilot/component.hxx | 1 - src/Autopilot/logic.cxx | 8 ++++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/Autopilot/component.hxx b/src/Autopilot/component.hxx index eb848d663..3f8d60352 100644 --- a/src/Autopilot/component.hxx +++ b/src/Autopilot/component.hxx @@ -27,7 +27,6 @@ # include #endif -#include #include #include diff --git a/src/Autopilot/logic.cxx b/src/Autopilot/logic.cxx index 1400b6fb8..83270427d 100644 --- a/src/Autopilot/logic.cxx +++ b/src/Autopilot/logic.cxx @@ -19,6 +19,14 @@ // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // +// for some obscure reason, MSVC needs this to compile +#ifdef _MSC_VER +#ifndef HAVE_CONFIG_H +# include +#endif +#include +#endif + #include "logic.hxx" using namespace FGXMLAutopilot;