From c6944913f0aa56cdfd9ad7464ab05d2815d9d815 Mon Sep 17 00:00:00 2001 From: Ken Takata Date: Thu, 19 Oct 2023 17:22:24 +0200 Subject: patch 9.0.2052: win32: using deprecated wsock32 api Problem: win32: using deprecated wsock32 api Solution: Use winsock2 (ws2_32) consistently win32: Stop using wsock32 We have already used ws2_32 (winsock2) and already dropped support for Windows 95 and NT4. So, we don't need to care about wsock32. Use ws2_32 consistently. closes: #13383 Signed-off-by: Christian Brabandt Co-authored-by: Ken Takata --- src/channel.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/channel.c') diff --git a/src/channel.c b/src/channel.c index 38f610a9fb..8d850c656f 100644 --- a/src/channel.c +++ b/src/channel.c @@ -10,13 +10,6 @@ * Implements communication through a socket or any file handle. */ -#ifdef WIN32 -// Must include winsock2.h before windows.h since it conflicts with winsock.h -// (included in windows.h). -# include -# include -#endif - #include "vim.h" #if defined(FEAT_JOB_CHANNEL) || defined(PROTO) -- cgit v1.2.3