summaryrefslogtreecommitdiff
path: root/examples/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'examples/kernel')
-rw-r--r--examples/kernel/tc_comm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/kernel/tc_comm.h b/examples/kernel/tc_comm.h
index 9f96d24e09..9333b96815 100644
--- a/examples/kernel/tc_comm.h
+++ b/examples/kernel/tc_comm.h
@@ -6,7 +6,9 @@
*
*/
#include <rtthread.h>
+#ifdef RT_USING_FINSH
#include <finsh.h>
+#endif
#if RT_THREAD_PRIORITY_MAX == 8
#define THREAD_PRIORITY 6