Selaa lähdekoodia

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

梁生 3 vuotta sitten
vanhempi
commit
2f214d03c0
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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