diff --git a/targets/TARGET_Cypress/TARGET_PSOC6/mtb-pdl-cat1/drivers/source/cy_syslib.c b/targets/TARGET_Cypress/TARGET_PSOC6/mtb-pdl-cat1/drivers/source/cy_syslib.c index 0842c41cc2..aa36903999 100644 --- a/targets/TARGET_Cypress/TARGET_PSOC6/mtb-pdl-cat1/drivers/source/cy_syslib.c +++ b/targets/TARGET_Cypress/TARGET_PSOC6/mtb-pdl-cat1/drivers/source/cy_syslib.c @@ -21,6 +21,9 @@ * See the License for the specific language governing permissions and * limitations under the License. *******************************************************************************/ +#if defined(__ARMCC_VERSION) +#include +#endif #include "cy_device.h"