1--- a/configure 2018-08-28 19:33:39.000000000 -0400
2+++ b/configure 2023-09-05 19:44:27.311279263 -0400
3@@ -6874,6 +6874,7 @@
4 cat >>conftest.$ac_ext <<_ACEOF
5 /* end confdefs.h. */
6 #include <ctype.h>
7+#include <stdlib.h>
8 #if ((' ' & 0x0FF) == 0x020)
9 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
10 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11@@ -7731,6 +7732,7 @@
12 cat >>conftest.$ac_ext <<_ACEOF
13 /* end confdefs.h. */
14 #include <ctype.h>
15+#include <stdlib.h>
16 #if ((' ' & 0x0FF) == 0x020)
17 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19@@ -10311,8 +10313,13 @@
20 if test "$cross_compiling" = yes; then
21 ac_cv_func_fork_works=cross
22 else
23- cat >conftest.$ac_ext <<_ACEOF
24+ cat >conftest.$ac_ext <<_ACEOF
25+/* confdefs.h. */
26+_ACEOF
27+ cat confdefs.h >>conftest.$ac_ext
28+ cat >>conftest.$ac_ext <<_ACEOF
29 /* By Ruediger Kuhlmann. */
30+ #include <stdlib.h>
31 #include <sys/types.h>
32 #if HAVE_UNISTD_H
33 # include <unistd.h>