mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-02-11 17:52:48 +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
c21121752d
commit
282e3ffe6e
@@ -8,6 +8,7 @@
|
||||
|
||||
#ifndef __WXMSW__
|
||||
# include <arpa/inet.h>
|
||||
# include <netinet/in.h>
|
||||
#endif
|
||||
|
||||
// Prototypes from net.h, but that header (currently) stinks, can't #include it without breaking things
|
||||
|
||||
Reference in New Issue
Block a user