summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test_address.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_address.c b/src/test/test_address.c
index d13d678f3d..9d6456315c 100644
--- a/src/test/test_address.c
+++ b/src/test/test_address.c
@@ -3,11 +3,11 @@
#define ADDRESS_PRIVATE
+#include "orconfig.h"
+
#ifdef _WIN32
#include <winsock2.h>
/* For access to structs needed by GetAdaptersAddresses */
-#undef _WIN32_WINNT
-#define _WIN32_WINNT 0x0501
#include <iphlpapi.h>
#endif