Browse Source

[BSP] fix the compiling error

Bernard Xiong 7 years ago
parent
commit
7ea1d0c672
1 changed files with 3 additions and 5 deletions
  1. 3 5
      bsp/simulator/drivers/sd_sim.c

+ 3 - 5
bsp/simulator/drivers/sd_sim.c

@@ -1,11 +1,9 @@
-#include <rtthread.h>
-#include <dfs.h>
-
 #include <stdio.h>
 #include <string.h>
-#ifdef _WIN32
 #include <stdlib.h>
-#endif
+
+#include <rtthread.h>
+#include <dfs.h>
 
 #ifdef DEBUG
 #  define SD_TRACE     rt_kprintf