]> git.mxchange.org Git - simgear.git/blobdiff - simgear/serial/testserial.cxx
Updates from David Megginson.
[simgear.git] / simgear / serial / testserial.cxx
index 0ad05f09b8f3cb41ba0d2cbf6e3621d9fda98db6..faab267861ec1c0eaac745bd472164cad333a5ca 100644 (file)
@@ -1,10 +1,10 @@
 #include <string>
 
-#include <simgear/logstream.hxx>
+#include <simgear/debug/logstream.hxx>
 
 #include "serial.hxx"
 
-main () {
+int main () {
     FGSerialPort port;
     string value;
     bool result;
@@ -27,4 +27,6 @@ main () {
            cout << "-> " << value << endl;
        }
     }
+
+    return 0;
 }