Explorar o código

[fal] fal_rtt.c消除函数strtol()隐含声明的警告

梁生 %!s(int64=3) %!d(string=hai) anos
pai
achega
2f214d03c0
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      components/fal/src/fal_rtt.c

+ 1 - 0
components/fal/src/fal_rtt.c

@@ -15,6 +15,7 @@
 #include <rtthread.h>
 #include <rtdevice.h>
 #include <string.h>
+#include <stdlib.h>
 
 /* ========================== block device ======================== */
 struct fal_blk_device