diff mbox series

include/fastboot.h: add missing types.h include

Message ID 20240621015135.1570605-1-caleb.connolly@linaro.org
State New
Headers show
Series include/fastboot.h: add missing types.h include | expand

Commit Message

Caleb Connolly June 21, 2024, 1:51 a.m. UTC
Fixes a compile error when building with only the TCP fastboot implementation.

Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
---
 include/fastboot.h | 2 ++
 1 file changed, 2 insertions(+)

Comments

Sam Protsenko June 21, 2024, 2:37 a.m. UTC | #1
On Thu, Jun 20, 2024 at 8:51 PM Caleb Connolly
<caleb.connolly@linaro.org> wrote:
>
> Fixes a compile error when building with only the TCP fastboot implementation.
>
> Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
> ---

Reviewed-by: Sam Protsenko <semen.protsenko@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
>
diff mbox series

Patch

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