diff --git a/src/venus/kdump.c b/src/venus/kdump.c index e81c4692f0..9f59b5843c 100644 --- a/src/venus/kdump.c +++ b/src/venus/kdump.c @@ -261,6 +261,10 @@ typedef struct timeval { #else #define _LINUX_BYTEORDER_LITTLE_ENDIAN_H #endif +/* Avoid problems with timer_t redefinition */ +#ifndef timer_t +#define timer_t ktimer_t +#endif #include #include #include