aboutsummaryrefslogtreecommitdiff
path: root/meta/recipes-support/icu/icu/0001-i18n-Drop-include-xlocale.h.patch
blob: 0c61893d7c151b0a90d7254992e19ee11f410c84 (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
27
28
29
30
31
32
33
From d6b57c1b4eb9a24d9d95342a961c93946539c93b Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Sat, 24 Jun 2017 22:52:40 -0700
Subject: [PATCH 3/4] i18n: Drop include <xlocale.h>

glibc 2.26 drops this header

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 source/i18n/digitlst.cpp | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/source/i18n/digitlst.cpp b/source/i18n/digitlst.cpp
index 8e86fa7..0bdbb2c 100644
--- a/i18n/digitlst.cpp
+++ b/i18n/digitlst.cpp
@@ -62,11 +62,7 @@
 #endif
 
 #if U_USE_STRTOD_L
-# if U_HAVE_XLOCALE_H
-#   include <xlocale.h>
-# else
-#   include <locale.h>
-# endif
+# include <locale.h>
 #endif
 
 // ***************************************************************************
-- 
2.14.2