Gents, To whomever is working on native_fdm.cxx:
When compiling the latest CVS FlightGear (10:00 PM Tue 2/6/2002) with Cygwin/Win2k, the following error occurs: c++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src -I/usr/ local/include -O2 -c native_fdm.cxx native_fdm.cxx: In function `void htond(double &)': native_fdm.cxx:63: implicit declaration of function `int htonl(...)' The offending code starts at line 28: #ifdef WIN32 # include <windows.h> #else # include <netinet/in.h> // htonl() ntohl() #endif The following change to the #ifdef fixes the problem on my Cygwin system: #if defined(WIN32) && !defined(__CYGWIN__) # include <windows.h> #else # include <netinet/in.h> // htonl() ntohl() #endif Thanks, Paul Paul R. Deppe Veridian Engineering (formerly Calspan) Flight & Aerospace Research Group 150 North Airport Drive Buffalo, NY 14225 (716) 631-6898 (716) 631-6990 FAX [EMAIL PROTECTED] _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel