Problem introduced in caf6150. Thanks to @drak for noticing. Fixes #4473.
caf6150
@ -7,10 +7,6 @@
#include "bitcoin-config.h"
#endif
#ifdef HAVE_INET_PTON
#include <arpa/inet.h>
#ifdef HAVE_GETADDRINFO_A
#include <netdb.h>
@ -23,6 +19,9 @@
#include "util.h"
#ifndef WIN32
#if HAVE_INET_PTON
#include <fcntl.h>