summaryrefslogtreecommitdiff
path: root/components/drivers/include
diff options
context:
space:
mode:
authorAubr.Cool <[email protected]>2015-06-30 14:48:07 +0800
committerAubr.Cool <[email protected]>2015-06-30 14:48:07 +0800
commit67b6b30e8837d6993a98f0e28b595bef1286cbad (patch)
treed99668e24d765cd0613ef666dca0aa71db9c1217 /components/drivers/include
parentb7010ff946a3d4b1717554264e4a924637a89079 (diff)
add rtthread.h include for can.h
Diffstat (limited to 'components/drivers/include')
-rw-r--r--components/drivers/include/drivers/can.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/drivers/include/drivers/can.h b/components/drivers/include/drivers/can.h
index 3a24162f03..e3473bac5c 100644
--- a/components/drivers/include/drivers/can.h
+++ b/components/drivers/include/drivers/can.h
@@ -14,6 +14,8 @@
#ifndef CAN_H_
#define CAN_H_
+#include <rtthread.h>
+
#ifndef RT_CANMSG_BOX_SZ
#define RT_CANMSG_BOX_SZ 16
#endif