Forráskód Böngészése

[Components] Fix compiling issue when remove finsh

BernardXiong 5 éve
szülő
commit
c0596e6c66

+ 1 - 1
components/drivers/mtd/mtd_nand.c

@@ -11,7 +11,7 @@
 /*
  * COPYRIGHT (C) 2012, Shanghai Real Thread
  */
-
+#include <string.h>
 #include <drivers/mtd_nand.h>
 
 #ifdef RT_USING_MTD_NAND

+ 1 - 0
components/drivers/spi/spi_flash_sfud.c

@@ -9,6 +9,7 @@
  */
 
 #include <stdint.h>
+#include <string.h>
 #include <rtdevice.h>
 #include "spi_flash.h"
 #include "spi_flash_sfud.h"