From b091d3872833a4b8d088ee41348a2d4ff48067cc Mon Sep 17 00:00:00 2001
From: Caleb Connolly <caleb.connolly@linaro.org>
Date: Fri, 21 Jun 2024 03:51:02 +0200
Subject: [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>
Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Link: https://lore.kernel.org/r/20240621015135.1570605-1-caleb.connolly@linaro.org
[mkorpershoek: wrapped commit msg to fix checkpatch]
Signed-off-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 2ca1b907a5..b106d61774 100644
--- a/include/fastboot.h
+++ b/include/fastboot.h
@@ -12,6 +12,8 @@
 #ifndef _FASTBOOT_H_
 #define _FASTBOOT_H_
 
+#include <linux/types.h>
+
 #define FASTBOOT_VERSION	"0.4"
 
 /*
-- 
2.39.5