commit | 0d33d38334cae909a66c74187a36b5833afb8093 | [log] [tgz] |
---|---|---|
author | Yann Gautier <yann.gautier@foss.st.com> | Mon Oct 03 09:30:34 2022 +0200 |
committer | Yann Gautier <yann.gautier@st.com> | Mon Oct 03 10:00:03 2022 +0200 |
tree | 91543cdb02e2c78092912bab5967eede651ce20a | |
parent | aa9d315009fba78cb3135b06d93001b2b18cf748 [diff] |
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