Browse Source

add rtthread.h include for can.h

Aubr.Cool 10 years ago
parent
commit
67b6b30e88
1 changed files with 2 additions and 0 deletions
  1. 2 0
      components/drivers/include/drivers/can.h

+ 2 - 0
components/drivers/include/drivers/can.h

@@ -14,6 +14,8 @@
 #ifndef CAN_H_
 #ifndef CAN_H_
 #define CAN_H_
 #define CAN_H_
 
 
+#include <rtthread.h>
+
 #ifndef RT_CANMSG_BOX_SZ
 #ifndef RT_CANMSG_BOX_SZ
 #define RT_CANMSG_BOX_SZ 16
 #define RT_CANMSG_BOX_SZ 16
 #endif
 #endif