#include <simgear/debug/logstream.hxx>
#include <simgear/math/sg_geodesy.hxx>
#include <simgear/io/iochannel.hxx>
+#include <simgear/timing/sg_time.hxx>
#include <FDM/flight.hxx>
#include <Main/globals.hxx>
#include "garmin.hxx"
+SG_USING_NAMESPACE(std);
FGGarmin::FGGarmin() {
}
string alt_units = msg.substr(begin, end - begin);
begin = end + 1;
- if ( alt_units != "F" && alt_units != "f" ) {
+ if ( alt_units != (string)"F" && alt_units != (string)"f" ) {
altitude *= SG_METER_TO_FEET;
}