From 4f90f4c735011f74389725aedf4cc1b05e67cff4 Mon Sep 17 00:00:00 2001 From: Martin Kojtal Date: Wed, 6 Jun 2018 09:00:27 +0100 Subject: [PATCH] error: fix undeclared memcpy Some targets do not get string header file in, results in the warning: implicit declaration of function 'memcpy' --- platform/mbed_error.c | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/mbed_error.c b/platform/mbed_error.c index 935290e8c4..57f231cc3e 100644 --- a/platform/mbed_error.c +++ b/platform/mbed_error.c @@ -15,6 +15,7 @@ */ #include #include +#include #include "device.h" #include "platform/mbed_critical.h" #include "platform/mbed_error.h"