Re: Building today's snapshot of GDB with MinGW

Eli Zaretskii
2020-07-02T13:39:52Z

> Date: Wed, 1 Jul 2020 12:30:26 -0700
> From: Joel Brobecker <brobecker@adacore.com>
> Cc: gdb-patches@sourceware.org
>
> > AC_CHECK_TYPES(socklen_t, [], [],
> > [#include <sys/types.h>
> > #include <sys/socket.h>
> > ])
> >
> > But on Windows this fails, because sys/socket.h doesn't exist;
> > instead, socklen_t is supposed to be defined in ws2tcpip.h. So the
> > correct headers inclusion for the test program would be
> >
> > #include <sys/types.h>
> > #if HAVE_SYS_SOCKET_H
> > # include <sys/socket.h>
> > #elif HAVE_WS2TCPIP_H
> > # include <ws2tcpip.h>
> >
> > Can we please fix this minor issue?
>
> Would you be able to submit a patch?

I can submit a change, but it would be difficult for me to try it, and
regenerate configure in general (I don't have the right version of
Autotools installed). Would it be okay to send a change and ask
someone to do the rest?