mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
Fix the build for windows
Problem introduced in caf6150. Thanks to @drak for noticing. Fixes #4473.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user