diff --git a/src/FDM/YASim/FGGround.cpp b/src/FDM/YASim/FGGround.cpp index 6a82151df..e6af48cc4 100644 --- a/src/FDM/YASim/FGGround.cpp +++ b/src/FDM/YASim/FGGround.cpp @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H + #include +#endif + #include #include "Glue.hpp" diff --git a/src/Traffic/Schedule.cxx b/src/Traffic/Schedule.cxx index b51a5db4e..2bb86393e 100644 --- a/src/Traffic/Schedule.cxx +++ b/src/Traffic/Schedule.cxx @@ -444,6 +444,9 @@ void FGAISchedule::setClosestDistanceToUser() FGAirport *dep; +#ifdef __CYGWIN__ + #define HUGE HUGE_VAL +#endif distanceToUser = HUGE; FGScheduledFlightVecIterator i = flights.begin(); while (i != flights.end())