xref: /aoo41x/main/icu/icu-darwin.patch (revision b64d3271)
1--- misc/build/icu/source/configure	2009-01-15 02:46:50.000000000 -0500
2+++ misc/build/icu/source/configure	2021-07-10 16:01:04.000000000 -0400
3@@ -2326,6 +2326,7 @@
4 cat confdefs.h >>conftest.$ac_ext
5 cat >>conftest.$ac_ext <<_ACEOF
6 /* end confdefs.h.  */
7+#include <stdlib.h>
8 $ac_declaration
9 int
10 main ()
11@@ -2687,6 +2688,7 @@
12 cat confdefs.h >>conftest.$ac_ext
13 cat >>conftest.$ac_ext <<_ACEOF
14 /* end confdefs.h.  */
15+#include <stdlib.h>
16 $ac_declaration
17 int
18 main ()
19@@ -4988,6 +4990,7 @@
20 cat >>conftest.$ac_ext <<_ACEOF
21 /* end confdefs.h.  */
22 #include <ctype.h>
23+#include <stdlib.h>
24 #if ((' ' & 0x0FF) == 0x020)
25 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
26 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
27@@ -5635,6 +5638,7 @@
28 cat confdefs.h >>conftest.$ac_ext
29 cat >>conftest.$ac_ext <<_ACEOF
30 /* end confdefs.h.  */
31+#include <stdlib.h>
32 int
33 main ()
34 {
35