summaryrefslogtreecommitdiff
path: root/gio/gnetworking.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'gio/gnetworking.h.in')
-rw-r--r--gio/gnetworking.h.in6
1 files changed, 1 insertions, 5 deletions
diff --git a/gio/gnetworking.h.in b/gio/gnetworking.h.in
index f9582b99e..2fa95ff65 100644
--- a/gio/gnetworking.h.in
+++ b/gio/gnetworking.h.in
@@ -22,15 +22,11 @@
#include <glib.h>
#ifdef G_OS_WIN32
-
-#ifndef _WIN32_WINNT
-#define _WIN32_WINNT 0x0501
-#endif
#include <winsock2.h>
#include <ws2tcpip.h>
#include <windns.h>
#include <mswsock.h>
-@WSPIAPI_INCLUDE@
+#include <wspiapi.h>
#include <iphlpapi.h>
#undef interface