Browse Source

Fix the build for windows

Problem introduced in caf6150. Thanks to @drak for noticing. Fixes #4473.
0.10
Wladimir J. van der Laan 11 years ago
parent
commit
afe380ef0f
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 7
      src/netbase.cpp

7
src/netbase.cpp

@ -7,10 +7,6 @@ @@ -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 @@ @@ -23,6 +19,9 @@
#include "util.h"
#ifndef WIN32
#if HAVE_INET_PTON
#include <arpa/inet.h>
#endif
#include <fcntl.h>
#endif

Loading…
Cancel
Save