1From 99f9a859b860b98880859bda847a341f460b9637 Mon Sep 17 00:00:00 2001 2From: Khem Raj <raj.khem@gmail.com> 3Date: Tue, 24 May 2022 13:54:17 -0700 4Subject: [PATCH] qwaylandinputcontext: Include missing header locale.h for 5 LC_CTYPE 6 7This issue is unraveled with musl, but is a general problem 8 9Fixes 10/mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux-musl/qtwayland/5.15.4+gitAUTOINC+f1e6c8764d-r0/git/src/client/qwaylandinputcontext.cpp:584:36: error: use of undeclared identifier 'LC_CTYPE' 11 const char *locale = setlocale(LC_CTYPE, ""); 12 ^ 13/mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux-musl/qtwayland/5.15.4+gitAUTOINC+f1e6c8764d-r0/git/src/client/qwaylandinputcontext.cpp:586:28: error: use of undeclared identifier 'LC_CTYPE' 14 locale = setlocale(LC_CTYPE, nullptr); 15 ^ 16Upstream-Status: Pending 17Signed-off-by: Khem Raj <raj.khem@gmail.com> 18--- 19 src/client/qwaylandinputcontext.cpp | 1 + 20 1 file changed, 1 insertion(+) 21 22diff --git a/src/client/qwaylandinputcontext.cpp b/src/client/qwaylandinputcontext.cpp 23index ef5aa375..d8e55357 100644 24--- a/src/client/qwaylandinputcontext.cpp 25+++ b/src/client/qwaylandinputcontext.cpp 26@@ -37,6 +37,7 @@ 27 ** 28 ****************************************************************************/ 29 30+#include <locale.h> 31 32 #include "qwaylandinputcontext_p.h" 33 34-- 352.36.1 36 37