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

Caleb Connolly caleb.connolly at linaro.org
Fri Jun 21 03:51:02 CEST 2024


Fixes a compile error when building with only the TCP fastboot implementation.

Signed-off-by: Caleb Connolly <caleb.connolly 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