浏览代码

[BSP] fix the compiling error

Bernard Xiong 7 年之前
父节点
当前提交
7ea1d0c672
共有 1 个文件被更改,包括 3 次插入5 次删除
  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