This commit is contained in:
Juliusz Sosinowicz
2021-10-18 15:57:21 +02:00
parent df1d817f1f
commit 3563585274
2 changed files with 6 additions and 1 deletions

View File

@ -32,7 +32,10 @@
#if !defined(STRING_USER) && !defined(WOLFSSL_LINUXKM)
#include <stdlib.h>
#endif
#ifndef WOLF_CRYPT_TYPES_H
#include <wolfssl/wolfcrypt/types.h>
#endif
#ifdef __cplusplus
extern "C" {

View File

@ -447,7 +447,9 @@ decouple library dependencies with standard string, memory and so on.
&& !defined(FREESCALE_KSDK_MQX) && !defined(FREESCALE_FREE_RTOS) \
&& !defined(WOLFSSL_LEANPSK) && !defined(WOLFSSL_uITRON4)
/* default C runtime, can install different routines at runtime via cbs */
#include <wolfssl/wolfcrypt/memory.h>
#ifndef WOLFSSL_MEMORY_H
#include <wolfssl/wolfcrypt/memory.h>
#endif
#ifdef WOLFSSL_STATIC_MEMORY
#ifdef WOLFSSL_DEBUG_MEMORY
#define XMALLOC(s, h, t) wolfSSL_Malloc((s), (h), (t), __func__, __LINE__)