Fix the build for windows

Problem introduced in caf6150. Thanks to @drak for noticing. Fixes #4473.
This commit is contained in:
Wladimir J. van der Laan 2014-07-07 10:44:30 +02:00
parent 4252f2928b
commit afe380ef0f
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
1 changed files with 3 additions and 4 deletions

View File

@ -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