aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/netbase.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/netbase.h b/src/netbase.h
index f5a64cb51f..23cfb1f158 100644
--- a/src/netbase.h
+++ b/src/netbase.h
@@ -17,6 +17,7 @@
#include <vector>
extern int nConnectTimeout;
+extern bool fNameLookup;
#ifdef WIN32
// In MSVC, this is defined as a macro, undefine it to prevent a compile and link error
@@ -33,9 +34,6 @@ enum Network
NET_MAX,
};
-extern int nConnectTimeout;
-extern bool fNameLookup;
-
/** IP address (IPv6, or IPv4 using mapped IPv6 range (::FFFF:0:0/96)) */
class CNetAddr
{