]> git.mxchange.org Git - flightgear.git/commitdiff
Provide declarations of hton*() and ntoh*()
authorFrederic Bouvier <fredfgfs01@free.fr>
Wed, 5 Jan 2011 16:38:15 +0000 (17:38 +0100)
committerFrederic Bouvier <fredfgfs01@free.fr>
Wed, 5 Jan 2011 16:38:15 +0000 (17:38 +0100)
utils/GPSsmooth/MIDG_main.cxx
utils/GPSsmooth/UGear_main.cxx
utils/GPSsmooth/gps_main.cxx

index 7b8141254e7bff5beddb50fbdd6e763a80ee9124..118c6198bf960c8c0c6190394bb98898a2c3d79c 100644 (file)
@@ -4,6 +4,8 @@
 
 #ifdef HAVE_WINDOWS_H
 #  include <windows.h>
+#else
+#  include <netinet/in.h>       // htonl() ntohl()
 #endif
 
 #include <iostream>
index faf5d725ff56063a71a00821083a399742cbfead..43d44b6f2af0ec05ebe94805d61dbc71d587fb3b 100644 (file)
@@ -4,6 +4,8 @@
 
 #ifdef HAVE_WINDOWS_H
 #  include <windows.h>
+#else
+#  include <netinet/in.h>       // htonl() ntohl()
 #endif
 
 #ifndef _WIN32
index 1b98b04a30cfc2ef7d25b016a77bbe4d61f772a8..5dfc76c6729a242fb23ba392a0b29b7c0d3d4bf3 100644 (file)
@@ -4,6 +4,8 @@
 
 #ifdef HAVE_WINDOWS_H
 #  include <windows.h>
+#else
+#  include <netinet/in.h>       // htonl() ntohl()
 #endif
 
 #include <iostream>