summaryrefslogtreecommitdiffstats
path: root/tdehtml
diff options
context:
space:
mode:
authorDenis Kozadaev <[email protected]>2023-05-14 12:34:44 +0300
committerMichele Calgaro <[email protected]>2023-05-22 10:47:39 +0900
commit227cd7b44beb0949be8d8186899c91f2fc08ba59 (patch)
treeaa43141f354cb72e1fd394b8e64a96906e1dc9cd /tdehtml
parentb7a4d45c14908b542b91976b71f0d51e785f9006 (diff)
downloadtdelibs-227cd7b44beb0949be8d8186899c91f2fc08ba59.tar.gz
tdelibs-227cd7b44beb0949be8d8186899c91f2fc08ba59.zip
Add SunOS specific patches
Signed-off-by: Denis Kozadaev <[email protected]> (cherry picked from commit e5acdb1b39fa7d97d7153741202709e078b463a6)
Diffstat (limited to 'tdehtml')
-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);