diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/net.cpp | 2 | ||||
-rw-r--r-- | src/netbase.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/net.cpp b/src/net.cpp index 5368261243..e5cb6d4b24 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -13,6 +13,8 @@ #ifdef WIN32 #include <string.h> +#else +#include <netinet/in.h> #endif #ifdef USE_UPNP diff --git a/src/netbase.h b/src/netbase.h index e86c114d47..26c2140155 100644 --- a/src/netbase.h +++ b/src/netbase.h @@ -19,8 +19,6 @@ #include <netdb.h> #include <net/if.h> #include <ifaddrs.h> -#endif -#ifdef BSD #include <netinet/in.h> #endif |