summaryrefslogtreecommitdiffstats
path: root/tdehtml/misc/knsplugininstaller.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdehtml/misc/knsplugininstaller.cpp')
-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);