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