mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-21 15:50:07 +01:00
We should include netinet/in.h to use sockaddr_in (POSIX.1-2001)
This commit is contained in:
committed by
Luke Dashjr
parent
07d1a50aee
commit
ea22a380de
@@ -13,6 +13,8 @@
|
||||
|
||||
#ifdef WIN32
|
||||
#include <string.h>
|
||||
#else
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
|
||||
#ifdef USE_UPNP
|
||||
|
||||
@@ -19,8 +19,6 @@
|
||||
#include <netdb.h>
|
||||
#include <net/if.h>
|
||||
#include <ifaddrs.h>
|
||||
#endif
|
||||
#ifdef BSD
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user