diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2019-06-28 17:13:38 +0200 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2019-06-28 18:42:21 +0200 |
commit | c540411a7f8186cea5d3277b0893239f3c57ef80 (patch) | |
tree | 44610e33e26d0e26b1c3539194b3d7d7e0ea9d11 | |
parent | 4517db75b571c778f8130fd125e2dc5f328b3750 (diff) |
Fix ip_unix.cpp inclusion order for OpenBSD.
-rw-r--r-- | drivers/unix/ip_unix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/unix/ip_unix.cpp b/drivers/unix/ip_unix.cpp index 39ca9a823e..ce66f07a19 100644 --- a/drivers/unix/ip_unix.cpp +++ b/drivers/unix/ip_unix.cpp @@ -56,7 +56,6 @@ #endif // MINGW hack #endif #else // UNIX -#include <net/if.h> #include <netdb.h> #ifdef ANDROID_ENABLED // We could drop this file once we up our API level to 24, @@ -73,6 +72,7 @@ #ifdef __FreeBSD__ #include <netinet/in.h> #endif +#include <net/if.h> // Order is important on OpenBSD, leave as last #endif static IP_Address _sockaddr2ip(struct sockaddr *p_addr) { |