mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2025-12-10 07:14:36 +01:00
Added stdio.h include to pico malloc when debug enabled (#1503)
This commit is contained in:
parent
8787bc9b4d
commit
21cf892b77
1 changed files with 4 additions and 0 deletions
|
|
@ -13,6 +13,10 @@
|
|||
auto_init_mutex(malloc_mutex);
|
||||
#endif
|
||||
|
||||
#if PICO_DEBUG_MALLOC
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
extern void *REAL_FUNC(malloc)(size_t size);
|
||||
extern void *REAL_FUNC(calloc)(size_t count, size_t size);
|
||||
extern void *REAL_FUNC(realloc)(void *mem, size_t size);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue