Blame SOURCES/0009-Include-locale.h-for-setlocale-LC_CTYPE.patch

869fe3
From 82720c9d7e0a706793f9716144347171820ddf4d Mon Sep 17 00:00:00 2001
6f97c1
From: Albert Astals Cid <albert.astals.cid@kdab.com>
6f97c1
Date: Mon, 10 May 2021 14:38:49 +0200
869fe3
Subject: [PATCH 09/40] Include locale.h for setlocale/LC_CTYPE
6f97c1
6f97c1
Pick-to: 5.15
6f97c1
Change-Id: Iced32a31a63cec71008549c1e0961d59ffc45a37
6f97c1
Reviewed-by: Aleix Pol Gonzalez <aleixpol@kde.org>
6f97c1
(cherry picked from commit e9522eda46028f351d87311d898ab985856970b0)
6f97c1
---
6f97c1
 src/client/qwaylandinputcontext.cpp | 4 ++++
6f97c1
 1 file changed, 4 insertions(+)
6f97c1
6f97c1
diff --git a/src/client/qwaylandinputcontext.cpp b/src/client/qwaylandinputcontext.cpp
6f97c1
index ef5aa375..503fd735 100644
6f97c1
--- a/src/client/qwaylandinputcontext.cpp
6f97c1
+++ b/src/client/qwaylandinputcontext.cpp
6f97c1
@@ -51,6 +51,10 @@
6f97c1
 #include "qwaylandinputmethodeventbuilder_p.h"
6f97c1
 #include "qwaylandwindow_p.h"
6f97c1
 
6f97c1
+#if QT_CONFIG(xkbcommon)
6f97c1
+#include <locale.h>
6f97c1
+#endif
6f97c1
+
6f97c1
 QT_BEGIN_NAMESPACE
6f97c1
 
6f97c1
 Q_LOGGING_CATEGORY(qLcQpaInputMethods, "qt.qpa.input.methods")
6f97c1
-- 
9fb289
2.35.1
6f97c1