From: Frederic Bouvier Date: Wed, 5 Jan 2011 16:38:15 +0000 (+0100) Subject: Provide declarations of hton*() and ntoh*() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1c792fb97c9f6edf62aefbeeaf5c1f315d78c709;p=flightgear.git Provide declarations of hton*() and ntoh*() --- diff --git a/utils/GPSsmooth/MIDG_main.cxx b/utils/GPSsmooth/MIDG_main.cxx index 7b8141254..118c6198b 100644 --- a/utils/GPSsmooth/MIDG_main.cxx +++ b/utils/GPSsmooth/MIDG_main.cxx @@ -4,6 +4,8 @@ #ifdef HAVE_WINDOWS_H # include +#else +# include // htonl() ntohl() #endif #include diff --git a/utils/GPSsmooth/UGear_main.cxx b/utils/GPSsmooth/UGear_main.cxx index faf5d725f..43d44b6f2 100644 --- a/utils/GPSsmooth/UGear_main.cxx +++ b/utils/GPSsmooth/UGear_main.cxx @@ -4,6 +4,8 @@ #ifdef HAVE_WINDOWS_H # include +#else +# include // htonl() ntohl() #endif #ifndef _WIN32 diff --git a/utils/GPSsmooth/gps_main.cxx b/utils/GPSsmooth/gps_main.cxx index 1b98b04a3..5dfc76c67 100644 --- a/utils/GPSsmooth/gps_main.cxx +++ b/utils/GPSsmooth/gps_main.cxx @@ -4,6 +4,8 @@ #ifdef HAVE_WINDOWS_H # include +#else +# include // htonl() ntohl() #endif #include