From 90f902daf5edb817d57b5e377d7ad54948a5a9f4 Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Wed, 2 Nov 2022 14:32:55 +0000 Subject: [PATCH] Drop apparently unneeded include of winsock2.h Commit d08bae3d ("Implement target async for Windows") unconditionally includes winsock2.h. We don't want to do that on Cygwin, since including both winsock2.h and sys/select.h causes incompatible redefinition problems. Since that include is apparently unneeded, just drop it. Fixes: d08bae3d --- gdb/windows-nat.c | 1 - 1 file changed, 1 deletion(-) diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index ab94de03bbf..6250cbc27a5 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-nat.c @@ -34,7 +34,6 @@ #include #include #include -#include #include #include #ifdef __CYGWIN__ -- 2.38.1