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

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(+)
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

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

Hi Caleb,
Thank you for the patch.
On ven., juin 21, 2024 at 03:51, 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: Mattijs Korpershoek mkorpershoek@baylibre.com
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

Hi,
On Fri, 21 Jun 2024 03:51:02 +0200, Caleb Connolly wrote:
Fixes a compile error when building with only the TCP fastboot implementation.
Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-dfu (u-boot-dfu)
[1/1] include/fastboot.h: add missing types.h include https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/b091d3872833a4b...
-- Mattijs
participants (3)
-
Caleb Connolly
-
Mattijs Korpershoek
-
Sam Protsenko