--- atftp-0.7/stats.c~ 2002-03-27 04:02:12.000000000 +0100 +++ atftp-0.7/stats.c 2009-02-24 08:23:43.131044573 +0100 @@ -22,6 +22,10 @@ #include "stats.h" #include "logger.h" +#ifndef CLK_TCK +#define CLK_TCK CLOCKS_PER_SEC +#endif + /* * That structure allows global statistic to be collected. See stats.h. */