On 08/11/2022 18:38, Tom Tromey via Gdb-patches wrote: >>>>>> "Jon" == Jon Turney writes: > > Jon> I'm going to suggest the attached to fix this, but from a quick > Jon> reading of the patch, I just wonder if winsock2.h is actually needed > Jon> at all, as I don't immediately see anything that leaps out as needing > Jon> it... > > I don't remember why I added it, but I suspect you're right and that the > include can just be removed. I tested building on MSYS2 with that removed, which appears to be successful, so I've pushed as trivial the attached.