Browse Source

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

梁生 2 years ago
parent
commit
2f214d03c0
1 changed files with 1 additions and 0 deletions
  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