Reported by Keith Marshall <keith.d.marshall@ntlworld.com> in
<https://savannah.gnu.org/bugs/?57725>,
by Rahul Das <bokul_4u@yahoo.com> in
<https://lists.gnu.org/archive/html/bug-gnulib/2020-04/msg00081.html>,
and by Eli Zaretskii <eliz@gnu.org> in
<https://lists.gnu.org/archive/html/bug-gnulib/2020-06/msg00068.html>.
* lib/sys_socket.in.h (socklen_t): Remove definition.
+2020-06-29 Bruno Haible <bruno@clisp.org>
+
+ sys_socket: Don't define socklen_t if it is already defined on mingw.
+ Reported by Keith Marshall <keith.d.marshall@ntlworld.com> in
+ <https://savannah.gnu.org/bugs/?57725>,
+ by Rahul Das <bokul_4u@yahoo.com> in
+ <https://lists.gnu.org/archive/html/bug-gnulib/2020-04/msg00081.html>,
+ and by Eli Zaretskii <eliz@gnu.org> in
+ <https://lists.gnu.org/archive/html/bug-gnulib/2020-06/msg00068.html>.
+ * lib/sys_socket.in.h (socklen_t): Remove definition.
+
2020-06-29 Bruno Haible <bruno@clisp.org>
alloca-opt: Fix warning on mingw.
/* Include headers needed by the emulation code. */
# include <sys/types.h>
# include <io.h>
-
-# if !GNULIB_defined_socklen_t
-typedef int socklen_t;
-# define GNULIB_defined_socklen_t 1
-# endif
-
+/* If these headers don't define socklen_t, <config.h> does. */
# endif
/* Rudimentary 'struct msghdr'; this works as long as you don't try to