--- xv-3.10a/xv.h~ 2011-09-07 21:20:05.685991230 +0200 +++ xv-3.10a/xv.h 2011-09-07 21:39:36.990089276 +0200 @@ -389,7 +389,7 @@ # include /* LONG_MAX (really want CLOCK_T_MAX) */ # include /* times() */ # ifndef CLK_TCK /* can be undefined in strict-ANSI mode */ -# define CLK_TCK CLOCKS_PER_SEC /* claimed to be same thing in time.h */ +# define CLK_TCK sysconf(_SC_CLK_TCK) # endif #endif