summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/libedit/libedit/stdc-predef.patch
blob: 0ce6d127a943d45d915f3827d0be31ed7d6c3f2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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