Ensure that do_gettimeofday is declared for some versions.
authorPavel Pisa <pisa@cmp.felk.cvut.cz>
Fri, 9 Apr 2010 09:08:00 +0000 (11:08 +0200)
committerPavel Pisa <pisa@cmp.felk.cvut.cz>
Fri, 9 Apr 2010 09:08:00 +0000 (11:08 +0200)
This is attempt to correct LinCAN build for 2.4.x kernels.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
lincan/include/can_sysdep.h

index f6d985d..7248249 100644 (file)
@@ -55,6 +55,7 @@
 #include <linux/delay.h>
 #include <linux/sched.h>
 #include <linux/interrupt.h>
+#include <linux/time.h>
 #include <asm/errno.h>
 
 #include <asm/io.h>