]> git.mxchange.org Git - flightgear.git/blobdiff - src/Input/fgjs.cxx
only unhide the cursor if it was actually hidden
[flightgear.git] / src / Input / fgjs.cxx
index 6f0176b4bce223e3de652c84daca475bc57423de..73eed92a93aa58b19625e304ea57dda2e133f096 100644 (file)
@@ -28,8 +28,8 @@
 
 #include <simgear/compiler.h>
 
-#ifdef _MSC_VER
-#include <Winsock2.h>
+#if defined( _MSC_VER ) || defined( __MINGW32__ )
+#  include <Winsock2.h>
 #endif
 
 #include <math.h>
@@ -50,6 +50,7 @@ using std::string;
 #include <simgear/misc/sg_path.hxx>
 #include <simgear/misc/sgstream.hxx>
 #include <simgear/structure/exception.hxx>
+#include <simgear/props/props_io.hxx>
 
 #include <Main/fg_io.hxx>
 #include <Main/fg_props.hxx>