From 1c792fb97c9f6edf62aefbeeaf5c1f315d78c709 Mon Sep 17 00:00:00 2001 From: Frederic Bouvier Date: Wed, 5 Jan 2011 17:38:15 +0100 Subject: [PATCH] Provide declarations of hton*() and ntoh*() --- utils/GPSsmooth/MIDG_main.cxx | 2 ++ utils/GPSsmooth/UGear_main.cxx | 2 ++ utils/GPSsmooth/gps_main.cxx | 2 ++ 3 files changed, 6 insertions(+) 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 -- 2.39.5