Ilya Zakharevich on Fri, 31 Aug 2001 14:11:06 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PATCH 2.1.1] TCK_CNT


I get some reports that CLK_TCK was moved to time.h at some moment on
Linux.  While the branch using CLK_TCK is probably not entered on
contemporary systems, this may improve portability.

On the other hand, it may break something else as well...  ;-)

Ilya

--- ./src/language/init.c.orig    Fri Aug 31 19:31:21 2001
+++ ./src/language/init.c Fri Aug 31 19:28:47 2001
@@ -1460,6 +1460,7 @@
 
 # include <sys/times.h>
 # include <sys/time.h>
+# include <time.h>
   static long
   timer_proto(int i)
   {