From 3238528b35a16cc02578b09caa1015d828018eeb Mon Sep 17 00:00:00 2001 From: curt Date: Thu, 7 Feb 2002 15:38:32 +0000 Subject: [PATCH] FreeBSD fix. --- src/Network/native_fdm.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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 -- 2.39.5