]> git.mxchange.org Git - flightgear.git/blobdiff - src/Systems/electrical.cxx
MapWidget: make use of the new POI system and display cities on the map.
[flightgear.git] / src / Systems / electrical.cxx
index 16de41f581e366d208d317d4d8c3cf2af3fe7069..947df0aae21df1be1bcdc2bc84d060b7ce642e92 100644 (file)
@@ -24,6 +24,7 @@
 #  include <config.h>
 #endif
 
+#include <cstdlib>
 #include <cstring>
 
 #include <simgear/structure/exception.hxx>
@@ -637,7 +638,7 @@ float FGElectricalSystem::propagate( FGElectricalComponent *node, double dt,
         }
         // cout << s << "  input_volts = " << volts << endl;
     } else {
-        SG_LOG( SG_SYSTEMS, SG_ALERT, "unkown node type" );
+        SG_LOG( SG_SYSTEMS, SG_ALERT, "unknown node type" );
     }
 
     int i;