--- apmsleep.c.orig Fri May 3 13:50:37 2002 +++ apmsleep.c Fri May 3 13:53:56 2002 @@ -45,7 +45,9 @@ #include #include -#if LINUX_VERSION_CODE > KERNEL_VERSION(2,2,0) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0) +#include +#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,2,0) #include #endif