<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">--- configure.orig	2021-11-10 00:09:17.000000000 +1100
+++ configure	2021-11-10 00:21:14.000000000 +1100
@@ -27627,7 +27627,15 @@
 cat &gt;&gt;conftest.$ac_ext &lt;&lt;_ACEOF
 /* end confdefs.h.  */
 
+#if HAVE_STDLIB_H
 #include &lt;stdlib.h&gt;
+#endif
+#if HAVE_STDIO_H
+#include &lt;stdio.h&gt;
+#endif
+#if HAVE_UNISTD_H
+#include &lt;unistd.h&gt;
+#endif
   int main() {
     if(setresuid(-1,-1,-1)) {
       perror("setresuid:");
@@ -27741,7 +27749,9 @@
 cat confdefs.h &gt;&gt;conftest.$ac_ext
 cat &gt;&gt;conftest.$ac_ext &lt;&lt;_ACEOF
 /* end confdefs.h.  */
-
+#if HAVE_STDLIB_H
+#include &lt;stdlib.h&gt;
+#endif
       #include &lt;stdarg.h&gt;
       void f (int i, ...) {
 	 va_list args1, args2;
@@ -27823,7 +27833,9 @@
 cat confdefs.h &gt;&gt;conftest.$ac_ext
 cat &gt;&gt;conftest.$ac_ext &lt;&lt;_ACEOF
 /* end confdefs.h.  */
-
+#if HAVE_STDLIB_H
+#include &lt;stdlib.h&gt;
+#endif
       #include &lt;stdarg.h&gt;
       void f (int i, ...) {
 	 va_list args1, args2;
@@ -28248,10 +28260,10 @@
 #if HAVE_WINSOCK2_H
 #include &lt;winsock2.h&gt;
 #endif
-main() {
+int main() {
 	FILE *fp = fopen("conftestval", "w");
 	fprintf (fp, "%d\n", FD_SETSIZE);
-	exit(0);
+	return (0);
 }
 
 _ACEOF
@@ -28341,7 +28353,7 @@
 #include &lt;sys/time.h&gt;	/* needed on FreeBSD */
 #include &lt;sys/param.h&gt;
 #include &lt;sys/resource.h&gt;
-main() {
+int main() {
 	FILE *fp;
 	int i,j;
 #if defined(__CYGWIN32__) || defined (__CYGWIN__)
@@ -28394,7 +28406,7 @@
 #endif /* IF !DEF CYGWIN */
 	fp = fopen("conftestval", "w");
 	fprintf (fp, "%d\n", i &amp; ~0x3F);
-	exit(0);
+	return (0);
 }
 
 _ACEOF
</pre></body></html>