From a781c8a5bf8bbc81394706e150ca597b51bcf5e1 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Thu, 8 Nov 2001 08:12:59 +0000 Subject: [PATCH] linux-kdump-also-work-with-early-24-kernels-20011108 yup, it had to come from somewhere. now it would compile with early and late 2.4 kernels --- src/venus/kdump.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/venus/kdump.c b/src/venus/kdump.c index 9f59b5843c..4e423bf2fd 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