Fix for linuxkm and stdio.h.

This commit is contained in:
David Garske
2022-10-06 14:34:47 -07:00
parent af7c0e9b74
commit bc78ecfa6c

View File

@ -60,10 +60,14 @@
* Free: 0x7fa14a500010 -> 120 at wc_FreeRng:606
*/
#include <stdio.h>
#include "wolfssl/wolfcrypt/settings.h"
#include "wolfssl/wolfcrypt/logging.h"
#if defined(WOLFSSL_TRACK_MEMORY) || defined(HAVE_STACK_SIZE) || \
defined(HAVE_STACK_SIZE_VERBOSE)
#include <stdio.h>
#endif
#if defined(WOLFSSL_TRACK_MEMORY)
#define DO_MEM_STATS
#if defined(__linux__) || defined(__MACH__)