summaryrefslogtreecommitdiffstats
path: root/tdehtml/misc
diff options
context:
space:
mode:
authorDenis Kozadaev <denis@dilos.org>2023-05-14 12:34:44 +0300
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-05-22 10:41:26 +0900
commite5acdb1b39fa7d97d7153741202709e078b463a6 (patch)
tree8fdda91a64ae0c7f35474d44e29139f38f297958 /tdehtml/misc
parent394b5ef0fb0e0555d16bced7c4c2c1b2ac1a8463 (diff)
downloadtdelibs-e5acdb1b39fa7d97d7153741202709e078b463a6.tar.gz
tdelibs-e5acdb1b39fa7d97d7153741202709e078b463a6.zip
Add SunOS specific patches
Signed-off-by: Denis Kozadaev <denis@dilos.org>
Diffstat (limited to 'tdehtml/misc')
-rw-r--r--tdehtml/misc/knsplugininstaller.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tdehtml/misc/knsplugininstaller.cpp b/tdehtml/misc/knsplugininstaller.cpp
index b8b94cd6b..db83e5c75 100644
--- a/tdehtml/misc/knsplugininstaller.cpp
+++ b/tdehtml/misc/knsplugininstaller.cpp
@@ -157,7 +157,11 @@ bool KNSPluginInstallEngine::findPlugin()
// get system infos
// TODO/FIX : correct this to work with x86-64 machines
+#ifdef Q_OS_SOLARIS
+ struct utsname sysinfo;
+#else /* default */
utsname sysinfo;
+#endif /* default */
if(uname(&sysinfo))
return false;
TQString sysname(sysinfo.sysname);