1From 9f2797d1ab8557b44a1f8d6d4d0b6de368d55e80 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 14 Jan 2022 09:22:59 -0800
4Subject: [PATCH] libedit: Include missing header stdc-predef.h
5
6__STDC_ISO_10646__ is defined in stdc-predef.h instead of expecting
7every other file including this header, add it here
8
9Upstream-Status: Pending
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 libedit/chartype.h | 3 +++
13 1 file changed, 3 insertions(+)
14
15diff --git a/libedit/chartype.h b/libedit/chartype.h
16index 319be30..2d3e20c 100644
17--- a/libedit/chartype.h
18+++ b/libedit/chartype.h
19@@ -30,6 +30,9 @@
20 #ifndef _h_chartype_f
21 #define _h_chartype_f
22
23+/*  for __STDC_ISO_10646__ */
24+#include <stdc-predef.h>
25+
26 /* Ideally we should also test the value of the define to see if it
27  * supports non-BMP code points without requiring UTF-16, but nothing
28  * seems to actually advertise this properly, despite Unicode 3.1 having
29--
302.34.1
31
32