Skip to content

Commit

Permalink
mem: Include stdio.h
Browse files Browse the repository at this point in the history
Memory overflow checks uses snprintf. Reported in bug #63904.
  • Loading branch information
yarrick committed Sep 28, 2023
1 parent 6f700a1 commit 3393729
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/mem.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
#include "lwip/stats.h"
#include "lwip/err.h"

#include <stdio.h> /* snprintf */
#include <string.h>

#if MEM_LIBC_MALLOC
Expand Down

0 comments on commit 3393729

Please sign in to comment.