summaryrefslogtreecommitdiff
path: root/bsp
diff options
context:
space:
mode:
authorprife <[email protected]>2013-01-24 17:13:09 +0800
committerprife <[email protected]>2013-01-24 17:13:09 +0800
commitf709ddf631ecec9dd43db664f1367799d1d30e62 (patch)
tree248fd01552baa535a998d9e25320b70c6ae70441 /bsp
parentba245ae88046d0bd5ad421fe545c83986a69421b (diff)
fix compile errors with vs in bsp/simulator
Diffstat (limited to 'bsp')
-rwxr-xr-xbsp/simulator/drivers/sd_sim.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/bsp/simulator/drivers/sd_sim.c b/bsp/simulator/drivers/sd_sim.c
index 758b5e0417..b3b265273d 100755
--- a/bsp/simulator/drivers/sd_sim.c
+++ b/bsp/simulator/drivers/sd_sim.c
@@ -1,7 +1,9 @@
#include <rtthread.h>
#include <stdio.h>
-//#include <stdlib.h>
-//#include <string.h>
+#ifdef _WIN32
+#include <stdlib.h>
+#include <string.h>
+#endif
#include <dfs_def.h>
// #define SD_TRACE rt_kprintf