Fix the build for windows
Problem introduced in caf6150
. Thanks to @drak for noticing. Fixes #4473.
This commit is contained in:
parent
4252f2928b
commit
afe380ef0f
1 changed files with 3 additions and 4 deletions
|
@ -7,10 +7,6 @@
|
|||
#include "bitcoin-config.h"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_INET_PTON
|
||||
#include <arpa/inet.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_GETADDRINFO_A
|
||||
#include <netdb.h>
|
||||
#endif
|
||||
|
@ -23,6 +19,9 @@
|
|||
#include "util.h"
|
||||
|
||||
#ifndef WIN32
|
||||
#if HAVE_INET_PTON
|
||||
#include <arpa/inet.h>
|
||||
#endif
|
||||
#include <fcntl.h>
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue