mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-19 02:54:24 +00:00
fix(st): add missing string.h include
Since patch on libc refactoring, there is a compilation error with STM32MP_USB_PROGRAMMER=1: plat/st/common/stm32cubeprogrammer_usb.c:81:35: error: implicit declaration of function 'strnlen' [-Werror=implicit-function-declaration] length += strnlen((char *)&dfu->buffer[GET_PHASE_LEN], The string.h header file should be included. Signed-off-by: Yann Gautier <yann.gautier@foss.st.com> Change-Id: I1fbb2d9714cbc0d0640cb5e3c5ae8201dbfbe14e
This commit is contained in:
parent
aa9d315009
commit
0d33d38334
1 changed files with 2 additions and 1 deletions
|
@ -1,11 +1,12 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2021, STMicroelectronics - All Rights Reserved
|
* Copyright (c) 2021-2022, STMicroelectronics - All Rights Reserved
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#include <tools_share/firmware_image_package.h>
|
#include <tools_share/firmware_image_package.h>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue