I am having some problems compiling <linux/timer.h>. Evey time I include it I get the same compile errors. I have tried googling a bunch of things and no luck. I have tried looking the header file but that doesn't help much. I have tried looking at changelogs but I don't know what to look for. Any help would be appriciated.
Kernel 2.4.21
gcc 3.2.2
Here is the list of errors.
In file included from PrepTest.cpp:16:
/usr/include/linux/timer.h:16: field `list' has incomplete type
/usr/include/linux/timer.h: In function `void init_timer(timer_list*)':
/usr/include/linux/timer.h:41: `struct timer_list' has no member named `list'
/usr/include/linux/timer.h:41: `struct timer_list' has no member named `list'
/usr/include/linux/timer.h: In function `int timer_pending(const timer_list*)
/usr/include/linux/timer.h:46: `struct timer_list' has no member named `list'