mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-18 18:44:22 +00:00
fix(usb): add missing include
When trying to compile USB stack for STM32MP2, the following warning happens: In file included from plat/st/stm32mp2/stm32mp2_usb_dfu.c:7: include/drivers/usb_device.h:193:9: error: unknown type name 'bool' 193 | bool is_in; Correct it by adding: #include <stdbool.h> Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: If17e4e269fcdc885e42f5fcad9cfb763829786e4
This commit is contained in:
parent
b55bf2562e
commit
f84f21fa8d
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2021, STMicroelectronics - All Rights Reserved
|
||||
* Copyright (c) 2021-2024, STMicroelectronics - All Rights Reserved
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
@ -7,6 +7,7 @@
|
|||
#ifndef USB_DEVICE_H
|
||||
#define USB_DEVICE_H
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <lib/utils_def.h>
|
||||
|
|
Loading…
Add table
Reference in a new issue