1From af798dceafec8a9ea3f83fc250d784511ca0a29c Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 30 Aug 2022 15:58:32 -0700
4Subject: [PATCH] Add needed headers for including mbstate_t and exit()
5
6Upstream-Status: Inappropriate [Reconfigure will solve it]
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8---
9 configure | 2 ++
10 1 file changed, 2 insertions(+)
11
12diff --git a/configure b/configure
13index 005d44e2..72fa6c23 100755
14--- a/configure
15+++ b/configure
16@@ -3462,6 +3462,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext"
17   cat >"conftest.$ac_ext" <<_ACEOF
18 #line 3463 "configure"
19 #include "confdefs.h"
20+#include <stdlib.h>
21 $ac_declaration
22 int
23 main (void)
24@@ -13533,6 +13534,7 @@ cat >"conftest.$ac_ext" <<_ACEOF
25 #include <stdlib.h>
26 #include <stdarg.h>
27 #include <stdio.h>
28+#include <wchar.h>
29 #ifdef HAVE_LIBUTF8_H
30 #include <libutf8.h>
31 #endif
32