]> git.mxchange.org Git - flightgear.git/blobdiff - src/Network/native_fdm.cxx
Update Mac configure script for new ALUT scheme; support --with-alut-framework.
[flightgear.git] / src / Network / native_fdm.cxx
index 0d499b4e988541fa8b9be5dbd46b98e7c96b89bd..4fa6275cedd7937179b35feaf855ae69576d0841 100644 (file)
 #include "native_fdm.hxx"
 
 // FreeBSD works better with this included last ... (?)
-#if defined(WIN32) && !defined(__CYGWIN__)
+#if defined( _MSC_VER )
 #  include <windows.h>
+#elif defined( __MINGW32__ )
+#  include <winsock2.h>
 #else
 #  include <netinet/in.h>      // htonl() ntohl()
 #endif