Merge pull request #1879 from cesanta/freestdlib

Add stdlib.h to includes in FreeRTOS arch
This commit is contained in:
Sergio R. Caprile authored and GitHub committed 2022-11-24 10:34:24 -03:00
commit a4a5778001
2 files changed
+3

No files matched your search

+2
View File
@@ -172,6 +172,7 @@ extern "C" {
#include <stddef.h> #include <stddef.h>
#include <stdint.h> #include <stdint.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> // rand(), strtol(), atoi()
#include <string.h> #include <string.h>
#include <FreeRTOS.h> #include <FreeRTOS.h>
@@ -1467,6 +1468,7 @@ struct mip_if {
}; };
void mip_init(struct mg_mgr *, struct mip_if *); void mip_init(struct mg_mgr *, struct mip_if *);
void mip_free(struct mip_if *);
extern struct mip_driver mip_driver_stm32; extern struct mip_driver mip_driver_stm32;
extern struct mip_driver mip_driver_enc28j60; extern struct mip_driver mip_driver_enc28j60;
+1
View File
@@ -9,6 +9,7 @@
#include <stddef.h> #include <stddef.h>
#include <stdint.h> #include <stdint.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> // rand(), strtol(), atoi()
#include <string.h> #include <string.h>
#include <FreeRTOS.h> #include <FreeRTOS.h>