summaryrefslogtreecommitdiff
path: root/components/finsh/shell.c
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-12-31 04:17:31 +0000
committer[email protected] <[email protected]>2012-12-31 04:17:31 +0000
commit9a8fbc6f1777334aee6ea035d767ff89c3c3b67f (patch)
treecff2a82f9da1a575f71d27c71ccb314706ee38db /components/finsh/shell.c
parent378fa1985797d72c3f77cd7f67a94d6e5528c830 (diff)
fix some compiling warning.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2571 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/finsh/shell.c')
-rw-r--r--components/finsh/shell.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/finsh/shell.c b/components/finsh/shell.c
index 9fcfdd71f0..82cbc68485 100644
--- a/components/finsh/shell.c
+++ b/components/finsh/shell.c
@@ -26,6 +26,10 @@
#include "finsh.h"
#include "shell.h"
+#ifdef _WIN32
+#include <stdio.h> /* for putchar */
+#endif
+
/* finsh thread */
static struct rt_thread finsh_thread;
ALIGN(RT_ALIGN_SIZE)