Skip to content

Commit 4f90f4c

Browse files
committed
error: fix undeclared memcpy
Some targets do not get string header file in, results in the warning: implicit declaration of function 'memcpy'
1 parent 4fcaa56 commit 4f90f4c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

platform/mbed_error.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
*/
1616
#include <stdlib.h>
1717
#include <stdarg.h>
18+
#include <string.h>
1819
#include "device.h"
1920
#include "platform/mbed_critical.h"
2021
#include "platform/mbed_error.h"

0 commit comments

Comments
 (0)