From: curt Date: Thu, 7 Feb 2002 15:38:32 +0000 (+0000) Subject: FreeBSD fix. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3238528b35a16cc02578b09caa1015d828018eeb;p=flightgear.git FreeBSD fix. --- diff --git a/src/Network/native_fdm.cxx b/src/Network/native_fdm.cxx index 5af740b17..c9d6df796 100644 --- a/src/Network/native_fdm.cxx +++ b/src/Network/native_fdm.cxx @@ -25,12 +25,6 @@ # include #endif -#if defined(WIN32) && !defined(__CYGWIN__) -# include -#else -# include // htonl() ntohl() -#endif - #include #include // endian tests #include @@ -40,6 +34,12 @@ #include "native_fdm.hxx" +// FreeBSD works better with this included last ... (?) +#if defined(WIN32) && !defined(__CYGWIN__) +# include +#else +# include // htonl() ntohl() +#endif // The function htond is defined this way due to the way some