File fix-building-with-mingw-headers-12.patch of Package mingw64-libnettle

--- a/aclocal.m4	2024-11-12 22:12:36.877240837 +0100
+++ b/aclocal.m4	2024-11-12 22:12:01.839931086 +0100
@@ -366,6 +366,7 @@
 # remove anything that might look like compiler output to our "||" expression
 rm -f conftest* a.out b.out a.exe a_out.exe
 cat >conftest.c <<EOF
+#include <stdlib.h>
 int
 main ()
 {
@@ -408,6 +408,7 @@
   gmp_cv_prog_exeext_for_build="$EXEEXT"
 else
   cat >conftest.c <<EOF
+#include <stdlib.h>
 int
 main ()
 {
openSUSE Build Service is sponsored by