File ganglia-monitor-core-2.5.7_sysconf_hz.patch of Package ganglia-monitor-core

--- lib/gexec_process.c.orig	2012-02-19 20:31:58.419869627 +0100
+++ lib/gexec_process.c	2012-02-19 20:32:24.199868699 +0100
@@ -37,6 +37,10 @@
    }
 gexec_process_func_arg_t;
 
+#ifndef HZ
+# define HZ sysconf(_SC_CLK_TCK)
+#endif
+
 typedef struct proc_s 
 {
    char name[64];  /* Name of the person who owns this process */
openSUSE Build Service is sponsored by