Skip to content

Commit

Permalink
Fix the build for windows
Browse files Browse the repository at this point in the history
Problem introduced in caf6150. Thanks to @Drak for noticing. Fixes bitcoin#4473.
  • Loading branch information
laanwj committed Jul 7, 2014
1 parent 4252f29 commit afe380e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/netbase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -23,6 +19,9 @@
#include "util.h"

#ifndef WIN32
#if HAVE_INET_PTON
#include <arpa/inet.h>
#endif
#include <fcntl.h>
#endif

Expand Down

0 comments on commit afe380e

Please sign in to comment.