[PATCH] include/fastboot.h: add missing types.h include

Sam Protsenko semen.protsenko at linaro.org
Fri Jun 21 04:37:11 CEST 2024


On Thu, Jun 20, 2024 at 8:51 PM Caleb Connolly
<caleb.connolly at linaro.org> wrote:
>
> Fixes a compile error when building with only the TCP fastboot implementation.
>
> Signed-off-by: Caleb Connolly <caleb.connolly at linaro.org>
> ---

Reviewed-by: Sam Protsenko <semen.protsenko at linaro.org>

>  include/fastboot.h | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/include/fastboot.h b/include/fastboot.h
> index 2ca1b907a54d..b106d6177493 100644
> --- a/include/fastboot.h
> +++ b/include/fastboot.h
> @@ -11,8 +11,10 @@
>   */
>  #ifndef _FASTBOOT_H_
>  #define _FASTBOOT_H_
>
> +#include <linux/types.h>
> +
>  #define FASTBOOT_VERSION       "0.4"
>
>  /*
>   * Signals u-boot fastboot code to send multiple responses by
> --
> 2.45.0
>


More information about the U-Boot mailing list