From: Jon Turney Date: Wed, 2 Nov 2022 14:32:55 +0000 (+0000) Subject: Drop apparently unneeded include of winsock2.h X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=90f902daf5edb817d57b5e377d7ad54948a5a9f4;p=binutils-gdb.git 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 --- 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__