Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame^] | 1 | Add needed headers for including mbstate_t and exit() |
| 2 | |
| 3 | Upstream-Status: Inappropriate [Reconfigure will solve it] |
| 4 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 5 | --- a/configure |
| 6 | +++ b/configure |
| 7 | @@ -3422,6 +3422,7 @@ rm -f "conftest.$ac_objext" "conftest.$a |
| 8 | cat >"conftest.$ac_ext" <<_ACEOF |
| 9 | #line 3423 "configure" |
| 10 | #include "confdefs.h" |
| 11 | +#include <stdlib.h> |
| 12 | $ac_declaration |
| 13 | int |
| 14 | main (void) |
| 15 | @@ -12997,6 +12998,7 @@ cat >"conftest.$ac_ext" <<_ACEOF |
| 16 | #include <stdlib.h> |
| 17 | #include <stdarg.h> |
| 18 | #include <stdio.h> |
| 19 | +#include <wchar.h> |
| 20 | #ifdef HAVE_LIBUTF8_H |
| 21 | #include <libutf8.h> |
| 22 | #endif |