diff options
Diffstat (limited to 'meta/recipes-devtools/libedit/libedit/stdc-predef.patch')
-rw-r--r-- | meta/recipes-devtools/libedit/libedit/stdc-predef.patch | 26 |
1 files changed, 26 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..0ce6d127a9 --- /dev/null +++ b/meta/recipes-devtools/libedit/libedit/stdc-predef.patch @@ -0,0 +1,26 @@ +From 32918b3a91d9fe4719bba78a44ec3262a2994e68 Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Wed, 31 Jul 2019 10:48:19 -0700 +Subject: [PATCH] libedit: Move from meta-oe + +__STDC_ISO_10646__ is defined in stdc-predef.h +therefore include it to see if its there on a platform + +Upstream-Status: Pending +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- + src/chartype.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/chartype.h b/src/chartype.h +index bcdb293..92327d3 100644 +--- a/src/chartype.h ++++ b/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 |