--- kcompat.h.orig 2009-03-06 19:17:48.000000000 +0300 +++ kcompat.h 2009-03-06 19:18:07.000000000 +0300 @@ -1081,8 +1081,10 @@ static inline int _kc_skb_is_gso(const s #define RHEL_VERSION 0 #endif #if (!(( RHEL_VERSION == 4 ) && ( RHEL_UPDATE >= 5 ))) +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18) typedef irqreturn_t (*irq_handler_t)(int, void*, struct pt_regs *); #endif +#endif typedef irqreturn_t (*new_handler_t)(int, void*); static inline irqreturn_t _kc_request_irq(unsigned int irq, new_handler_t handler, unsigned long flags, const char *devname, void *dev_id) #else /* 2.4.x */