]> git.mxchange.org Git - flightgear.git/commitdiff
FreeBSD fix.
authorcurt <curt>
Thu, 7 Feb 2002 15:38:32 +0000 (15:38 +0000)
committercurt <curt>
Thu, 7 Feb 2002 15:38:32 +0000 (15:38 +0000)
src/Network/native_fdm.cxx

index 5af740b1784337bd645c14b1b3ccc2b983a090a6..c9d6df7967c11ecc8afa18630107588cc998abad 100644 (file)
 #  include <config.h>
 #endif
 
-#if defined(WIN32) && !defined(__CYGWIN__)
-#  include <windows.h>
-#else
-#  include <netinet/in.h>      // htonl() ntohl()
-#endif
-
 #include <simgear/debug/logstream.hxx>
 #include <simgear/io/lowlevel.hxx> // endian tests
 #include <simgear/io/iochannel.hxx>
 
 #include "native_fdm.hxx"
 
+// FreeBSD works better with this included last ... (?)
+#if defined(WIN32) && !defined(__CYGWIN__)
+#  include <windows.h>
+#else
+#  include <netinet/in.h>      // htonl() ntohl()
+#endif
 
 
 // The function htond is defined this way due to the way some