]> git.mxchange.org Git - flightgear.git/blobdiff - src/Network/ATC-Main.cxx
Merge branch 'merge-requests/1555' into next
[flightgear.git] / src / Network / ATC-Main.cxx
index 709a812d0d44ce7d6bbee5767980e837f51b924f..546f03ebee04cb92afac573f1c61903cb4bd13b6 100644 (file)
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
+#include <errno.h>
+
 #include <stdio.h>              //snprintf
-#if defined( _MSC_VER ) || defined(__MINGW32__)
+#ifdef _WIN32
 #  include <io.h>                 //lseek, read, write
 #endif
 
 #include <string>
 
-#include <plib/ul.h>
-
 #include <simgear/debug/logstream.hxx>
 #include <simgear/props/props_io.hxx>
 #include <simgear/io/iochannel.hxx>
@@ -54,7 +54,9 @@
 #include "ATC-Main.hxx"
 
 using std::string;
-
+using std::cout;
+using std::endl;
+using std::vector;
 
 // Lock the ATC hardware
 static int fgATCMainLock( int fd ) {