summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/libedit/libedit/stdc-predef.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/libedit/libedit/stdc-predef.patch')
-rw-r--r--meta/recipes-devtools/libedit/libedit/stdc-predef.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-devtools/libedit/libedit/stdc-predef.patch b/meta/recipes-devtools/libedit/libedit/stdc-predef.patch
new file mode 100644
index 0000000000..75ef308fad
--- /dev/null
+++ b/meta/recipes-devtools/libedit/libedit/stdc-predef.patch
@@ -0,0 +1,18 @@
1__STDC_ISO_10646__ is defined in stdc-predef.h
2therefore include it to see if its there on a platform
3
4Upstream-Status: Pending
5Signed-off-by: Khem Raj <raj.khem@gmail.com>
6
7Index: libedit-20160903-3.1/src/chartype.h
8===================================================================
9--- libedit-20160903-3.1.orig/src/chartype.h
10+++ libedit-20160903-3.1/src/chartype.h
11@@ -29,6 +29,7 @@
12 #ifndef _h_chartype_f
13 #define _h_chartype_f
14
15+#include <stdc-predef.h>
16 /* Ideally we should also test the value of the define to see if it
17 * supports non-BMP code points without requiring UTF-16, but nothing
18 * seems to actually advertise this properly, despite Unicode 3.1 having