--- sal/osl/unx/process.c.old	2006-06-20 06:18:45.000000000 +0200
+++ sal/osl/unx/process.c	2006-08-14 19:27:09.000000000 +0200
@@ -1462,13 +1462,15 @@
 			 *   to work in 2.0.36)
 			 */
 
-			unsigned long userseconds=(procstat.utime/HZ);
-			unsigned long systemseconds=(procstat.stime/HZ);
+			unsigned long clockticks=sysconf(_SC_CLK_TCK);
+
+			unsigned long userseconds=(procstat.utime/clockticks);
+			unsigned long systemseconds=(procstat.stime/clockticks);
 
 			pInfo->UserTime.Seconds   = userseconds;
-			pInfo->UserTime.Nanosec   = procstat.utime - (userseconds * HZ);
+			pInfo->UserTime.Nanosec   = procstat.utime - (userseconds * clockticks);
 			pInfo->SystemTime.Seconds = systemseconds;
-			pInfo->SystemTime.Nanosec = procstat.stime - (systemseconds * HZ);
+			pInfo->SystemTime.Nanosec = procstat.stime - (systemseconds * clockticks);
 
 			pInfo->Fields |= osl_Process_CPUTIMES;
 		}
