FreeBSD fix.
This commit is contained in:
parent
644668a932
commit
3238528b35
1 changed files with 6 additions and 6 deletions
|
@ -25,12 +25,6 @@
|
||||||
# include <config.h>
|
# include <config.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(WIN32) && !defined(__CYGWIN__)
|
|
||||||
# include <windows.h>
|
|
||||||
#else
|
|
||||||
# include <netinet/in.h> // htonl() ntohl()
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <simgear/debug/logstream.hxx>
|
#include <simgear/debug/logstream.hxx>
|
||||||
#include <simgear/io/lowlevel.hxx> // endian tests
|
#include <simgear/io/lowlevel.hxx> // endian tests
|
||||||
#include <simgear/io/iochannel.hxx>
|
#include <simgear/io/iochannel.hxx>
|
||||||
|
@ -40,6 +34,12 @@
|
||||||
|
|
||||||
#include "native_fdm.hxx"
|
#include "native_fdm.hxx"
|
||||||
|
|
||||||
|
// FreeBSD works better with this included last ... (?)
|
||||||
|
#if defined(WIN32) && !defined(__CYGWIN__)
|
||||||
|
# include <windows.h>
|
||||||
|
#else
|
||||||
|
# include <netinet/in.h> // htonl() ntohl()
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
// The function htond is defined this way due to the way some
|
// The function htond is defined this way due to the way some
|
||||||
|
|
Loading…
Add table
Reference in a new issue