]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/clock.cxx
Support for multiple data dirs.
[flightgear.git] / src / Instrumentation / clock.cxx
index 5d581e6f42de05cbb51174692a1a55d5d82bc413..39f6f582f0b9ad566cb298aecd197da0f8470817 100644 (file)
@@ -9,6 +9,8 @@
 #  include <config.h>
 #endif
 
+#include <cstdio>
+
 #include "clock.hxx"
 #include <simgear/timing/sg_time.hxx>
 #include <Main/fg_props.hxx>
@@ -37,7 +39,7 @@ Clock::~Clock ()
 void
 Clock::init ()
 {
-    string branch;
+    std::string branch;
     branch = "/instrumentation/" + _name;
 
     SGPropertyNode *node = fgGetNode(branch.c_str(), _num, true );