Explorar o código

[BSP] fix the compiling error

Bernard Xiong %!s(int64=7) %!d(string=hai) anos
pai
achega
7ea1d0c672
Modificáronse 1 ficheiros con 3 adicións e 5 borrados
  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