aboutsummaryrefslogtreecommitdiff
path: root/openembedded-layer/recipes-devtools/libedit/libedit/stdc-predef.patch
diff options
context:
space:
mode:
Diffstat (limited to 'openembedded-layer/recipes-devtools/libedit/libedit/stdc-predef.patch')
-rw-r--r--openembedded-layer/recipes-devtools/libedit/libedit/stdc-predef.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/openembedded-layer/recipes-devtools/libedit/libedit/stdc-predef.patch b/openembedded-layer/recipes-devtools/libedit/libedit/stdc-predef.patch
new file mode 100644
index 0000000..c95cdc9
--- /dev/null
+++ b/openembedded-layer/recipes-devtools/libedit/libedit/stdc-predef.patch
@@ -0,0 +1,17 @@
+__STDC_ISO_10646__ is defined in stdc-predef.h
+therefore include it to see if its there on a platform
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+
+Index: libedit-20160903-3.1/src/chartype.h
+===================================================================
+--- libedit-20160903-3.1.orig/src/chartype.h
++++ libedit-20160903-3.1/src/chartype.h
+@@ -29,6 +29,7 @@
+ #ifndef _h_chartype_f
+ #define _h_chartype_f
+
++#include <stdc-predef.h>
+ /* Ideally we should also test the value of the define to see if it
+ * supports non-BMP code points without requiring UTF-16, but nothing
+ * seems to actually advertise this properly, despite Unicode 3.1 having