Skip to content

Commit 284e841

Browse files
nandojvecarlescufi
authored andcommitted
lib: updatehub: Fix compile warning
Based on the current platform a warning can raise becase of missing string.h include file. Signed-off-by: Gerson Fernando Budke <gerson.budke@ossystems.com.br>
1 parent c35cad5 commit 284e841

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/updatehub/updatehub_device.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
*/
66
#include "updatehub_device.h"
77

8+
#include <string.h>
9+
810
bool updatehub_get_device_identity(char *id, int id_max_len)
911
{
1012
u8_t hwinfo_id[DEVICE_ID_BIN_MAX_SIZE];

0 commit comments

Comments
 (0)