retarget - fix uvisor header inclusion

pull/2607/head
Martin Kojtal 2016-09-02 11:03:21 +01:00
parent 9111aa4c2d
commit fd9d89aad0
1 changed files with 2 additions and 3 deletions

View File

@ -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 */