From fd9d89aad0053634dd60c10e434d0b293f3a5f43 Mon Sep 17 00:00:00 2001 From: Martin Kojtal Date: Fri, 2 Sep 2016 11:03:21 +0100 Subject: [PATCH] retarget - fix uvisor header inclusion --- hal/common/retarget.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/hal/common/retarget.cpp b/hal/common/retarget.cpp index 16c4c58221..1dced8548c 100644 --- a/hal/common/retarget.cpp +++ b/hal/common/retarget.cpp @@ -480,10 +480,9 @@ extern "C" WEAK void __cxa_pure_virtual(void) { #endif #if defined(TOOLCHAIN_GCC) -/* uVisor wraps malloc_r, realloc_r and free_r, but not calloc_r! */ -#ifndef FEATURE_UVISOR - +#ifdef FEATURE_UVISOR +#include "uvisor-lib/uvisor-lib.h" #endif/* FEATURE_UVISOR */