diff options
author | Albert Astals Cid <albert.astals.cid@kdab.com> | 2021-05-10 14:38:49 +0200 |
---|---|---|
committer | Albert Astals Cid <albert.astals.cid@kdab.com> | 2021-05-12 16:50:10 +0200 |
commit | e9522eda46028f351d87311d898ab985856970b0 (patch) | |
tree | 140d37b4a4e080fb7a64b6fbcd755303c3ffa996 /src/client/qwaylandinputcontext.cpp | |
parent | 87cbec8d4a71015219360a7f9a3ccf2a64af8d68 (diff) |
Include locale.h for setlocale/LC_CTYPE
Pick-to: 5.15
Change-Id: Iced32a31a63cec71008549c1e0961d59ffc45a37
Reviewed-by: Aleix Pol Gonzalez <aleixpol@kde.org>
Diffstat (limited to 'src/client/qwaylandinputcontext.cpp')
-rw-r--r-- | src/client/qwaylandinputcontext.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/qwaylandinputcontext.cpp b/src/client/qwaylandinputcontext.cpp index cbf63cde8..7262a6a4b 100644 --- a/src/client/qwaylandinputcontext.cpp +++ b/src/client/qwaylandinputcontext.cpp @@ -51,6 +51,10 @@ #include "qwaylandinputmethodeventbuilder_p.h" #include "qwaylandwindow_p.h" +#if QT_CONFIG(xkbcommon) +#include <locale.h> +#endif + QT_BEGIN_NAMESPACE Q_LOGGING_CATEGORY(qLcQpaInputMethods, "qt.qpa.input.methods") |