--- fritz.orig/src.drv/lib.c 2002-06-07 00:00:00.000000000 +0200 +++ fritz.orig/src.drv/lib.c 2002-08-09 18:09:26.000000000 +0200 @@ -220,7 +220,8 @@ \*---------------------------------------------------------------------------*/ unsigned long os_msec (void) { - return (((unsigned long long) jiffies) * 1000) / HZ; + unsigned long j = jiffies; + return (j * (1000 / HZ) + (j * (1000 % HZ)) / HZ); } /* os_msec */ /*---------------------------------------------------------------------------*\ --- fritz.orig/src.drv/tools.c 2002-06-07 00:00:00.000000000 +0200 +++ fritz.orig/src.drv/tools.c 2002-08-09 18:06:00.000000000 +0200 @@ -24,11 +24,11 @@ #include #include #include -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,18) +//#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,18) #include -#else -#include -#endif +//#else +//#include +//#endif #include "defs.h" #include "tools.h"