Fix ip_unix.cpp inclusion order for OpenBSD.
This commit is contained in:
parent
4517db75b5
commit
c540411a7f
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,6 @@
|
||||||
#endif // MINGW hack
|
#endif // MINGW hack
|
||||||
#endif
|
#endif
|
||||||
#else // UNIX
|
#else // UNIX
|
||||||
#include <net/if.h>
|
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
#ifdef ANDROID_ENABLED
|
#ifdef ANDROID_ENABLED
|
||||||
// We could drop this file once we up our API level to 24,
|
// We could drop this file once we up our API level to 24,
|
||||||
|
@ -73,6 +72,7 @@
|
||||||
#ifdef __FreeBSD__
|
#ifdef __FreeBSD__
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#endif
|
#endif
|
||||||
|
#include <net/if.h> // Order is important on OpenBSD, leave as last
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static IP_Address _sockaddr2ip(struct sockaddr *p_addr) {
|
static IP_Address _sockaddr2ip(struct sockaddr *p_addr) {
|
||||||
|
|
Loading…
Reference in a new issue