SDL_net: windows: Don't include windows.h directly, note we need Vista-level APIs.

From a9e47320d151230db77a3668bb51f8324f65f75c Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Mon, 14 Aug 2023 16:27:12 -0400
Subject: [PATCH] windows: Don't include windows.h directly, note we need
 Vista-level APIs.

(Suggestions from @sezero)
---
 SDL_net.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/SDL_net.c b/SDL_net.c
index e24c777..6fd565a 100644
--- a/SDL_net.c
+++ b/SDL_net.c
@@ -2,7 +2,7 @@
 
 #ifdef __WINDOWS__
 #define WIN32_LEAN_AND_MEAN 1
-#include <windows.h>
+#define _WIN32_WINNT 0x0600  /* we need APIs that didn't arrive until Windows Vista. */
 #include <winsock2.h>
 #include <ws2tcpip.h>
 typedef SOCKET Socket;