diff --git a/platform/SysTimer.h b/platform/SysTimer.h index b13a0a3bea..f6e3b2ad40 100644 --- a/platform/SysTimer.h +++ b/platform/SysTimer.h @@ -21,9 +21,12 @@ #include "platform/mbed_atomic.h" #include "drivers/TimerEvent.h" #include "cmsis.h" + +extern "C" { #if defined(TARGET_CORTEX_A) #include "irq_ctrl.h" #endif +} namespace mbed { namespace internal {