From: Derrick Brashear Date: Wed, 26 Dec 2001 20:27:56 +0000 (+0000) Subject: STABLE12-linux-kdump-also-work-with-early-24-kernels-20011226 X-Git-Tag: openafs-stable-1_2_3~73 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=a148e0470c5fbf86541a667df962943d3787148c;p=packages%2Fo%2Fopenafs.git STABLE12-linux-kdump-also-work-with-early-24-kernels-20011226 yup, it had to come from somewhere. now it would compile with early and late 2.4 kernels --- diff --git a/src/venus/kdump.c b/src/venus/kdump.c index abe9797f4..de9071212 100644 --- a/src/venus/kdump.c +++ b/src/venus/kdump.c @@ -264,10 +264,15 @@ typedef struct timeval { /* Avoid problems with timer_t redefinition */ #ifndef timer_t #define timer_t ktimer_t +#define timer_t_redefined #endif #include #include #include +#ifdef timer_t_redefined +#undef timer_t +#undef timer_t_redefined +#endif #else /* AFS_LINUX20_ENV */ #ifdef AFS_HPUX110_ENV #define KERNEL