]> git.mxchange.org Git - flightgear.git/commitdiff
One more try to fix the Windows build
authorTorsten Dreyer <Torsten@t3r.de>
Tue, 29 Jun 2010 15:42:04 +0000 (17:42 +0200)
committerTorsten Dreyer <Torsten@t3r.de>
Tue, 29 Jun 2010 15:42:04 +0000 (17:42 +0200)
src/Autopilot/component.hxx
src/Autopilot/logic.cxx

index eb848d663a8a72fc904fae06425d7ccb12c1325c..3f8d60352f287acd9eb49b14be5f02eac5652471 100644 (file)
@@ -27,7 +27,6 @@
 #  include <config.h>
 #endif
 
-#include <simgear/props/props.hxx>
 #include <simgear/structure/subsystem_mgr.hxx>
 #include <simgear/props/condition.hxx>
 
index 1400b6fb890d928935c35a54cbf8e6594fb73707..83270427dc2ec233b6971339fcb536b95e894181 100644 (file)
 // 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 <config.h>
+#endif
+#include <simgear/math/SGMath.hxx>
+#endif
+
 #include "logic.hxx"
 
 using namespace FGXMLAutopilot;