https://bugs.winehq.org/show_bug.cgi?id=52085
--- Comment #4 from Michael Cronenworth mike@cchtml.com --- Oops. Since this part uses MinGW the correct header is winsock2.h.
--- /var/lib/mock/fedora-rawhide-x86_64/root/builddir/build/BUILD/wine-gecko-2.47.2/wine-gecko-2.47.2/nsprpub/pr/src/io/prmapopt.c.orig 2022-01-24 19:49:18.944000804 -0600 +++ /var/lib/mock/fedora-rawhide-x86_64/root/builddir/build/BUILD/wine-gecko-2.47.2/wine-gecko-2.47.2/nsprpub/pr/src/io/prmapopt.c 2022-01-24 19:48:35.511918656 -0600 @@ -19,6 +19,7 @@
#if defined(WINNT) || defined(__MINGW32__) #include <winsock.h> +#include <winsock2.h> #endif
/* MinGW doesn't define these in its winsock.h. */