Merge pull request #1879 from cesanta/freestdlib

Add stdlib.h to includes in FreeRTOS arch
This commit is contained in:
Sergio R. Caprile 2022-11-24 10:34:24 -03:00 committed by GitHub
commit a4a5778001
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -172,6 +172,7 @@ extern "C" {
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h> // rand(), strtol(), atoi()
#include <string.h>
#include <FreeRTOS.h>
@ -1467,6 +1468,7 @@ 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_enc28j60;

View File

@ -9,6 +9,7 @@
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h> // rand(), strtol(), atoi()
#include <string.h>
#include <FreeRTOS.h>