Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 1 | From c4254fd8ff1888ca285e3242b812010357ce2b3e Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Sat, 24 Jun 2017 22:52:40 -0700 |
| 4 | Subject: [PATCH] i18n: Drop include <xlocale.h> |
| 5 | |
| 6 | glibc 2.26 drops this header |
| 7 | |
| 8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 9 | --- |
| 10 | Upstream-Status: Pending |
| 11 | |
| 12 | i18n/digitlst.cpp | 6 +----- |
| 13 | 1 file changed, 1 insertion(+), 5 deletions(-) |
| 14 | |
| 15 | Index: source/i18n/digitlst.cpp |
| 16 | =================================================================== |
| 17 | --- source.orig/i18n/digitlst.cpp |
| 18 | +++ source/i18n/digitlst.cpp |
| 19 | @@ -61,11 +61,7 @@ |
| 20 | #endif |
| 21 | |
| 22 | #if U_USE_STRTOD_L |
| 23 | -# if U_PLATFORM_USES_ONLY_WIN32_API || U_PLATFORM == U_PF_CYGWIN |
| 24 | -# include <locale.h> |
| 25 | -# else |
| 26 | -# include <xlocale.h> |
| 27 | -# endif |
| 28 | +# include <locale.h> |
| 29 | #endif |
| 30 | |
| 31 | // *************************************************************************** |