]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - embedded/app/usbcan/can/main.h
can_quesysless.c remains to be fixed (tasklets and sleeping)
[lincan.git] / embedded / app / usbcan / can / main.h
index 9a1d65ba327d216931377503e79441fd7d983f46..9511d84dd9e657ffb4901c4c031b91c94c993bac 100644 (file)
@@ -7,6 +7,9 @@
  * Version lincan-0.3  17 Jun 2004
  */
 
+#ifndef MAIN_H
+#define MAIN_H
+
 #include <malloc.h>
 
 #include "./can.h"
@@ -14,6 +17,7 @@
 #include "./ul_listbase.h"
 #include "./can_sysless.h"
 #include "./can_queue.h"
+#include "./errno.h"
 
 #ifdef CAN_DEBUG
        #define DEBUGMSG(fmt,args...) can_printk(KERN_ERR "can.o (debug): " fmt,\
@@ -513,3 +517,6 @@ void can_filltimestamp(canmsg_tstamp_t *ptimestamp)
 #ifdef CAN_WITH_RTL
 extern int can_rtl_priority;
 #endif /*CAN_WITH_RTL*/
+
+#endif /* MAIN_H */
+