aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJami Kettunen <jami.kettunen@protonmail.com>2022-06-30 19:57:10 +0300
committerJami Kettunen <jami.kettunen@protonmail.com>2022-06-30 19:57:10 +0300
commitc61be8793b24365789a84d5d9b4d2c9ff33884e7 (patch)
tree126f4f2be4e2b2bf7ce9cc208491d89daf518642 /tests
parent4d895fa3e739c5a67905684b39707d96763a8789 (diff)
downloadayatana-indicator-display-c61be8793b24365789a84d5d9b4d2c9ff33884e7.tar.gz
ayatana-indicator-display-c61be8793b24365789a84d5d9b4d2c9ff33884e7.tar.bz2
ayatana-indicator-display-c61be8793b24365789a84d5d9b4d2c9ff33884e7.zip
tests/utils/qmain.cpp: Add missing include for libintl.h
Fixes the following build error under musl libc: ../../../tests/utils/qmain.cpp: In function 'int main(int, char**)': ../../../tests/utils/qmain.cpp:47:5: error: 'bindtextdomain' was not declared in this scope 47 | bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR); | ^~~~~~~~~~~~~~ ../../../tests/utils/qmain.cpp:48:5: error: 'textdomain' was not declared in this scope 48 | textdomain(GETTEXT_PACKAGE); | ^~~~~~~~~~
Diffstat (limited to 'tests')
-rw-r--r--tests/utils/qmain.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/utils/qmain.cpp b/tests/utils/qmain.cpp
index 01a7892..58b1125 100644
--- a/tests/utils/qmain.cpp
+++ b/tests/utils/qmain.cpp
@@ -22,6 +22,7 @@
#include <QCoreApplication>
#include <QTimer>
#include <gtest/gtest.h>
+#include <libintl.h>
#include <libqtdbusmock/DBusMock.h>