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

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