summaryrefslogtreecommitdiff
path: root/src/common/address.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/address.c')
-rw-r--r--src/common/address.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/common/address.c b/src/common/address.c
index 6bd107889a..d7d815e40f 100644
--- a/src/common/address.c
+++ b/src/common/address.c
@@ -10,17 +10,16 @@
#define ADDRESS_PRIVATE
+#include "orconfig.h"
+
#ifdef _WIN32
/* For access to structs needed by GetAdaptersAddresses */
-#undef _WIN32_WINNT
-#define _WIN32_WINNT 0x0501
#include <process.h>
#include <winsock2.h>
#include <windows.h>
#include <iphlpapi.h>
#endif
-#include "orconfig.h"
#include "compat.h"
#include "util.h"
#include "address.h"