--- configure.orig	2023-11-04 17:54:22
+++ configure	2023-11-06 16:00:52
@@ -23756,6 +23756,7 @@
   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <fnmatch.h>
+#include <stdlib.h>
 int main() { return(fnmatch("/*/bin/echo *", "/usr/bin/echo just a test", FNM_CASEFOLD)); }
 _ACEOF
 if ac_fn_c_try_run "$LINENO"
@@ -24753,6 +24754,7 @@
   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
 
 int main(void)
@@ -24799,6 +24802,7 @@
   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <stdio.h>
+#include <stdlib.h>
 #include <stdarg.h>
 #include <string.h>
 
@@ -25705,6 +25709,7 @@
 #error "OpenSSL too old"
 #endif
 
+#include <stdio.h>
 int
 main (void)
 {
@@ -29872,7 +29877,7 @@
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
-
+#include <stdio.h>
 int
 main (void)
 {
